Graphical demo for the LPC4088 Experiment Base Board with one of the Display Expansion Kits. This program displays a number of dots in a 3D-projected wave.
main.cpp
00001 /****************************************************************************** 00002 * Includes 00003 *****************************************************************************/ 00004 #include "mbed.h" 00005 00006 #include "TestDisplay.h" 00007 00008 /****************************************************************************** 00009 * Typedefs and defines 00010 *****************************************************************************/ 00011 00012 00013 /****************************************************************************** 00014 * Local variables 00015 *****************************************************************************/ 00016 00017 DigitalOut myled(LED1); 00018 00019 /****************************************************************************** 00020 * Local functions 00021 *****************************************************************************/ 00022 00023 /* 00024 * Test program for the 4.3" and 5" displays. This test is supposed to run 00025 * on a LPC4088QSB board on an LPC4088 Experiment Base Board. 00026 */ 00027 00028 00029 int main() { 00030 printf("\n" 00031 "---\n" 00032 "Display Demo Program for 4.3 and 5 inch display on the LPC4088 Experiment Base Board\n" 00033 "Build Date: " __DATE__ " at " __TIME__ "\n" 00034 "\n"); 00035 00036 //TestDisplay display(TestDisplay::TFT_4_3); 00037 TestDisplay display(TestDisplay::TFT_5); 00038 display.runTest(); 00039 00040 while(1) { 00041 myled = 1; 00042 wait(0.2); 00043 myled = 0; 00044 wait(0.2); 00045 } 00046 }
Generated on Tue Jul 12 2022 23:31:58 by 1.7.2