10 lines
189 B
C
10 lines
189 B
C
#include "io_registers.h"
|
|
|
|
void main()
|
|
{
|
|
io_registers.a.DISPCNT = (1 << 16); // DISPLAY_ON
|
|
|
|
// palette ram
|
|
*((volatile uint16_t *)(0x05000000)) = (7 << 10) | (31 << 5) | (19 << 0);
|
|
}
|