![](/media/cache/group/NimbeLink_Logo.png.50x50_q85.png)
M1DK Skywire Demo
Dependencies: SHT30-DIS-B mbed
Fork of M1DK_Skywire_Demo by
Diff: main.cpp
- Revision:
- 4:e7a79d3542e1
- Parent:
- 3:4b2176f6474c
- Child:
- 5:977fa2ac1589
diff -r 4b2176f6474c -r e7a79d3542e1 main.cpp --- a/main.cpp Mon Jan 12 23:27:12 2015 +0000 +++ b/main.cpp Tue Jan 20 19:47:03 2015 +0000 @@ -1,4 +1,21 @@ - +/* main.cpp */ +/* Copyright (C) 2015 nimbelink.com, MIT License + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software + * and associated documentation files (the "Software"), to deal in the Software without restriction, + * including without limitation the rights to use, copy, modify, merge, publish, distribute, + * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ #include "mbed.h" #include "LPS331.h" @@ -6,7 +23,7 @@ #include "LM75B.h" /* --CHANGE THIS FOR YOUR SETUP" -- */ -#define DeviceID "mbedskywire" //Freeboard DweetIO unique ID +#define DeviceID "DweetIODeviceName" //Freeboard DweetIO unique ID DigitalOut myled(LED1); DigitalOut skywire_en(PA_6);