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: BufferedSerial C12832 EndpointMain-rfid EthernetInterface Logger StatusReporter-df2014 mbed-rtos mbed
Fork of df-2014-workshop-rfid-case-generator-k64f by
Diff: main.cpp
- Revision:
- 22:1b9e29933ab3
- Parent:
- 20:f548e2de5b0b
- Child:
- 25:89a505a8e61c
diff -r 579d99612e16 -r 1b9e29933ab3 main.cpp
--- a/main.cpp Fri Aug 29 04:48:42 2014 +0000
+++ b/main.cpp Fri Aug 29 19:24:19 2014 +0000
@@ -18,10 +18,12 @@
// StatusReporter
#include "StatusReporter.h"
-
- // our LCD Panel
- #include "C12832_lcd.h"
- C12832_LCD lcd;
+
+ // appboard LCD Panel
+ #if _NXP_PLATFORM || _UBLOX_PLATFORM
+ #include "C12832_lcd.h"
+ C12832_LCD lcd;
+ #endif
// our Serial port
#include "Serial.h"
@@ -40,8 +42,13 @@
// Main Entry...
int main() {
- // create our object instances
+ // create our object instances
+#if _NXP_PLATFORM || _UBLOX_PLATFORM
ErrorHandler logger(&pc,&lcd);
+#endif
+#if _K64F_PLATFORM
+ ErrorHandler logger(&pc,NULL);
+#endif
// announce
logger.log("ARM/DreamForce 2014 mbed Status Reporter v%s",APP_VERSION);

