test export
Dependencies: DmTftLibrary mbed
Fork of dm_paint by
Diff: main.cpp
- Revision:
- 2:de14389741d5
- Parent:
- 1:c5ef2d3261d3
- Child:
- 3:84a858adc7ff
diff -r c5ef2d3261d3 -r de14389741d5 main.cpp --- a/main.cpp Fri Jul 04 10:35:27 2014 +0000 +++ b/main.cpp Mon Jul 07 11:55:26 2014 +0000 @@ -55,7 +55,7 @@ #define NUM_BUTTONS (sizeof(buttons)/sizeof(buttons[0])) -#if 1 +#if 0 /* Displays without adapter */ #define DM_PIN_SPI_MOSI D11 #define DM_PIN_SPI_MISO D12 @@ -78,18 +78,16 @@ * Local variables *****************************************************************************/ -//DmTftHX8353C tft; /* DM_TFT18_101 */ -//DmTftS6D0164 tft; /* DM_TFT22_102 */ -//DmTftIli9325 tft; /* DM_TFT28_103 and DM_TFT24_104 */ +DmTftIli9325 tft; /* DM_TFT28_103 and DM_TFT24_104 */ //DmTftIli9341 tft; /* DM_TFT28_105 */ -DmTftSsd2119 tft; /* DM_TFT35_107 */ +//DmTftSsd2119 tft; /* DM_TFT35_107 */ -//DmTouch touch(DmTouch::DM_TFT28_103, DmTouch::Software); /* For LPC4088 QuickStart Board */ +DmTouch touch(DmTouch::DM_TFT28_103, DmTouch::Software); /* For LPC4088 QuickStart Board */ //DmTouch touch(DmTouch::DM_TFT28_103); //DmTouch touch(DmTouch::DM_TFT24_104, DmTouch::Software); /* For LPC4088 QuickStart Board */ //DmTouch touch(DmTouch::DM_TFT24_104); //DmTouch touch(DmTouch::DM_TFT28_105); -DmTouch touch(DmTouch::DM_TFT35_107); +//DmTouch touch(DmTouch::DM_TFT35_107); DigitalInOut csTouch(DM_PIN_CS_TOUCH, PIN_OUTPUT, PullUp, 1); DigitalInOut csDisplay(DM_PIN_CS_TFT, PIN_OUTPUT, PullUp, 1);