|
@ -10,12 +10,14 @@ int count = 0; |
|
|
int test_func(int pid, unsigned int signal) |
|
|
int test_func(int pid, unsigned int signal) |
|
|
{ |
|
|
{ |
|
|
M5.Lcd.fillScreen(TFT_DARKGREY); |
|
|
M5.Lcd.fillScreen(TFT_DARKGREY); |
|
|
|
|
|
M5.Lcd.setTextColor(TFT_WHITE, TFT_DARKGREY); |
|
|
M5.Lcd.setCursor(0, 0); |
|
|
M5.Lcd.setCursor(0, 0); |
|
|
|
|
|
|
|
|
if (signal & SIGNAL_START) |
|
|
if (signal & SIGNAL_START) |
|
|
{ |
|
|
{ |
|
|
M5.Lcd.setRotation(3); |
|
|
M5.Lcd.setRotation(3); |
|
|
M5.Lcd.print("Initializing..."); |
|
|
M5.Lcd.print("Initializing..."); |
|
|
|
|
|
M5.Lcd.setCursor(0, 15); |
|
|
if (EAT_allocate(1, 2)) |
|
|
if (EAT_allocate(1, 2)) |
|
|
{ |
|
|
{ |
|
|
EAT_write(1, 0, 0); |
|
|
EAT_write(1, 0, 0); |
|
|