mc-b / Mbed 2 deprecated IoTKit_CoAP

Dependencies:   EthernetInterface mbed-rtos mbed nsdl_lib

Fork of NSDL_HelloWorld by Sensinode

Files at this revision

API Documentation at this revision

Comitter:
marcel1691
Date:
Wed Feb 04 19:49:52 2015 +0000
Parent:
10:57352d0c287c
Commit message:
Abgestimmt mit IoTKit

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
resources/light.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Jan 18 18:32:12 2015 +0000
+++ b/main.cpp	Wed Feb 04 19:49:52 2015 +0000
@@ -19,8 +19,8 @@
 
 // NSP configuration
 /* Change this IP address to that of your NanoService Platform installation */
-//static const char* NSP_ADDRESS = "23.97.178.38"; /* demo NSP, web interface at http://nsp.cloudapp.net:8083/, User/PW = demo */ 
-static const char* NSP_ADDRESS = "192.168.178.65"; /* Lokale Installation */ 
+static const char* NSP_ADDRESS = "23.97.178.38"; /* demo NSP, web interface at http://nsp.cloudapp.net:8083/, User/PW = demo */ 
+//static const char* NSP_ADDRESS = "192.168.178.65"; /* Lokale Installation */ 
 static const int NSP_PORT = 5683;
 char endpoint_name[16] = "mbed-k64f-1234"; // aendern pro Node
 uint8_t ep_type[] = {"mbed_device"};
--- a/resources/light.cpp	Sun Jan 18 18:32:12 2015 +0000
+++ b/resources/light.cpp	Wed Feb 04 19:49:52 2015 +0000
@@ -8,8 +8,8 @@
  
 extern Serial pc;
 //PwmOut led1(LED1);
-static PwmOut led2(D6);
-static PwmOut led3(D7);
+static PwmOut led2(D10);
+static PwmOut led3(D11);
 //PwmOut led4(LED4);
  
 /* Only GET and PUT method allowed */