ThingPlug Ex
Dependencies: DHT11 NetworkSocketAPI WizFi310Interface mbed
Fork of WizFi310_ThingPlug_Test by
Revision 11:06675e22e37d, committed 2017-11-15
- Comitter:
- cliff1
- Date:
- Wed Nov 15 06:45:16 2017 +0000
- Parent:
- 10:6a4b8caced6b
- Commit message:
- New V2
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 6a4b8caced6b -r 06675e22e37d main.cpp --- a/main.cpp Wed Nov 15 06:30:22 2017 +0000 +++ b/main.cpp Wed Nov 15 06:45:16 2017 +0000 @@ -33,16 +33,12 @@ #define COMMAND_NM "Command Name" #define CONTAINER_NAME "Container Name" -#define CDS_SENSOR CDS_Sensor -#define DHT_SENSOR DHT_Sensor #define LED LED_Sensor #if defined(TARGET_WIZwiki_W7500) Serial pc(USBTX, USBRX); WizFi310Interface wifi(D1, D0, D7, D6, D9, NC, 115200); - - AnalogIn myLux ( CDS_SENSOR ); - Dht11 myTemp( DHT_SENSOR ); + DigitalOut myled ( LED ); #endif