Newer
Older
DE2_115_PROG / app_software / lights.c
@takayun takayun on 22 Dec 2016 131 bytes edit .gitignore
#define switches (volatile char *) 0x0002000
#define leds (char *) 0x0002010

void main()
{
    while(1) *leds = *switches;
}