Full layout 'HUB' with functioning navigation between all screens and active temp/state display, now with outbound signals to leds and buzzer. Final Project.

Dependencies:   ID12RFID SPI_TFT_ILI9341 TFT_fonts mbed

Fork of Welcome_Screen_TFT_2_point_oh by 'SmOuse'

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers IDs.h Source File

IDs.h

00001 void ben()
00002 {
00003 
00004     rled = 0;
00005     bled = 1;
00006     gled = 1;
00007 
00008     TFT.printf("B");
00009     wait(0.05);
00010     TFT.printf("e");
00011     wait(0.05);
00012     TFT.printf("n");
00013     wait(0.05);
00014     home();
00015     break;
00016 }
00017 
00018 void joe()
00019 {
00020     rled = 1;
00021     bled = 0;
00022     gled = 1;
00023 
00024     TFT.printf("J");
00025     wait(0.05);
00026     TFT.printf("o");
00027     wait(0.05);
00028     TFT.printf("e");
00029     wait(0.05);
00030     home();
00031     break;
00032 }
00033 
00034 void arthur()
00035 {
00036     rled = 1;
00037     bled = 0;
00038     gled = 1;
00039 
00040     TFT.printf("A");
00041     wait(0.05);
00042     TFT.printf("r");
00043     wait(0.05);
00044     TFT.printf("t");
00045     wait(0.05);
00046     TFT.printf("h");
00047     wait(0.05);
00048     TFT.printf("u");
00049     wait(0.05);
00050     TFT.printf("r");
00051     wait(0.05);
00052     home();
00053     break
00054 }
00055 
00056 void intruder()
00057 {
00058     rled = 0;
00059     bled = 0;
00060     gled = 0;
00061     TFT.cls();                // clear the screen
00062     TFT.set_font((unsigned char*) Arial24x23);
00063     TFT.set_orientation(1);
00064     TFT.locate(50,100);
00065     TFT.printf("I");
00066     TFT.printf("N");
00067     TFT.printf("T");
00068     TFT.printf("R");
00069     TFT.printf("U");
00070     TFT.printf("D");
00071     TFT.printf("E");
00072     TFT.printf("R");
00073     break;
00074 }
00075 
00076 
00077 
00078 
00079