uart: add ledctrl app
This commit is contained in:
3
uart/led.h
Normal file
3
uart/led.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#define LED_ADDR ((volatile char*)0xC000)
|
||||
|
||||
#define led_write(x) (*LED_ADDR = (x))
|
||||
Reference in New Issue
Block a user