Full layout 'HUB' with functioning navigation between all screens and active temp/state display
Dependencies: ID12RFID SPI_TFT_ILI9341 TFT_fonts mbed
Fork of Welcome_Screen_TFT by
IDs.h
- Committer:
- bendavis96
- Date:
- 2016-06-16
- Revision:
- 8:95cd847648cd
- Parent:
- 7:ceeced183454
File content as of revision 8:95cd847648cd:
void ben() { rled = 0; bled = 1; gled = 1; TFT.printf("B"); wait(0.05); TFT.printf("e"); wait(0.05); TFT.printf("n"); wait(0.05); home(); break; } void joe() { rled = 1; bled = 0; gled = 1; TFT.printf("J"); wait(0.05); TFT.printf("o"); wait(0.05); TFT.printf("e"); wait(0.05); home(); break; } void arthur() { rled = 1; bled = 0; gled = 1; TFT.printf("A"); wait(0.05); TFT.printf("r"); wait(0.05); TFT.printf("t"); wait(0.05); TFT.printf("h"); wait(0.05); TFT.printf("u"); wait(0.05); TFT.printf("r"); wait(0.05); home(); break } void intruder() { rled = 0; bled = 0; gled = 0; TFT.cls(); // clear the screen TFT.set_font((unsigned char*) Arial24x23); TFT.set_orientation(1); TFT.locate(50,100); TFT.printf("I"); TFT.printf("N"); TFT.printf("T"); TFT.printf("R"); TFT.printf("U"); TFT.printf("D"); TFT.printf("E"); TFT.printf("R"); break; }