![](/media/cache/group/mouse.jpg.50x50_q85.jpg)
Server 'HUB' interface, with dummy pages for AC and Lighting control...touchscreen working.
Dependencies: ID12RFID SPI_TFT_ILI9341 TFT_fonts mbed
Fork of TFT_Mikroelectronika_IL9341 by
Diff: IDs.h
- Revision:
- 7:ceeced183454
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IDs.h Thu Jun 16 15:41:28 2016 +0000 @@ -0,0 +1,79 @@ +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; +} + + + + +