Newer
Older
DE2_115_PROG / app_software / lights.c
@takayun takayun on 16 Dec 2016 125 bytes initial commit
#define switches (volatile char *) 0x0002000
#define leds (char *) 0x0002010

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