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.
Dependencies: IAP NTPClient RTC mbed-rtos mbed Socket lwip-sys lwip BurstSPI
Fork of LPC1768_Mini-DK by
Diff: main.cpp
- Revision:
- 4:067633a7dfa5
- Parent:
- 3:fb4d62b5ffb3
- Child:
- 6:b547fb6c1095
diff -r fb4d62b5ffb3 -r 067633a7dfa5 main.cpp
--- a/main.cpp Thu Jan 03 16:16:24 2013 +0000
+++ b/main.cpp Thu Jan 03 16:28:16 2013 +0000
@@ -14,7 +14,6 @@
int main()
{
- unsigned char Ads7846_status;
unsigned short LCD_id;
TFT.claim(stdout); // send stdout to the TFT display
@@ -133,8 +132,7 @@
{
if (!TP._tp_irq)
{
- Ads7846_status = TP.Read_Ads7846();
- if (Ads7846_status)
+ if (TP.Read_Ads7846())
{
TP.getDisplayPoint() ;
TP.TP_DrawPoint(TP.display.x,TP.display.y, Blue);
