Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 Wed Jul 13 2022 20:04:53 by
