modify

Dependencies:   Adafruit_GFX Adafruit_ST7735 GMMP_mbed NTPClient SDFileSystem WIZnet_Library mbed

Fork of ThingPlug_Ethernet_Example_temp_V2 by irina kim

Revision:
9:9179158a0fef
Parent:
7:6534e4a59e63
Child:
11:f15177f282a6
--- 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'.");