modify

Dependencies:   Adafruit_GFX Adafruit_ST7735 GMMP_mbed NTPClient SDFileSystem WIZnet_Library mbed

Fork of ThingPlug_Ethernet_Example_temp_V2 by irina kim

Files at this revision

API Documentation at this revision

Comitter:
lesmin
Date:
Thu Aug 13 01:58:12 2015 +0000
Parent:
8:88a323a90d37
Child:
10:cf405a9d5c23
Commit message:
myled (LED1) is commented out due to conflict with SPI1 SCK for W5500 Ethernet Shield

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Aug 12 14:12:03 2015 +0000
+++ b/main.cpp	Thu Aug 13 01:58:12 2015 +0000
@@ -1,6 +1,6 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+//DigitalOut myled(LED1); //conflict with SPI1_PA5 for W5500 Ethernet Shield
 Serial pc(USBTX, USBRX);
 
 #include "config.h"
@@ -209,10 +209,10 @@
     }
 
     if (pstReqHdr->usMessageBody[0] == '1') {
-      myled = 1;
+      //myled = 1;
       infoln("LED ON");
     } else if (pstReqHdr->usMessageBody[0] == '0') {
-      myled = 0;
+      //myled = 0;
       infoln("LED OFF");
     } else {
       errorln("Unknown Control Msg Body; it must be '1' or '0'.");