![](/media/cache/group/arm_mbed.PNG.50x50_q85.png)
LED Demo for Tech Con 2014
Dependencies: EthernetInterface PololuLedStripx mbed-rtos mbed nanoservice_client_1_12_X
Fork of LPC1768_LWM2M_Client by
Diff: main.cpp
- Revision:
- 13:23ea6a3cf55e
- Parent:
- 10:5ecaf86d3936
--- a/main.cpp Tue Sep 30 03:31:19 2014 +0000 +++ b/main.cpp Sat Oct 04 05:06:13 2014 +0000 @@ -1,11 +1,13 @@ #include "mbed.h" #include "EthernetInterface.h" +#include "IAP.h" #include "nsdl_support.h" #include "dbg.h" + // Include resources #include "light.h" -#include "IAP.h" #include "PololuLedStrip.h" + PololuLedStrip ledStrip(P0_4); //#define LED_COUNT 60 #define LED_COUNT 120 @@ -54,7 +56,8 @@ // NSP configuration /* Change this IP address to that of your NanoService Platform installation */ //static const char* NSP_ADDRESS = "217.140.101.20"; /* public mbed demo server */ -static const char* NSP_ADDRESS = "23.99.99.252"; // barista.cloudapp.net +static const char* NSP_ADDRESS = "54.228.25.31"; //leshan sandbox +//static const char* NSP_ADDRESS = "23.99.99.252"; // barista.cloudapp.net //static const char* NSP_ADDRESS = "192.168.1.200"; static const int NSP_PORT = 5683; char endpoint_name[24] = "LED-booth-";