Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos mbed nsdl_lib
Fork of NSDL_HelloWorld by
Revision 11:99178da0f3fa, committed 2015-02-04
- 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 */
