1
Dependencies: EthernetInterface IFTTT mbed-rtos mbed
Fork of IFTTT_Ethernet_Example by
Revision 2:6ef0af7c37d6, committed 2016-09-09
- Comitter:
- yu10078999
- Date:
- Fri Sep 09 13:14:00 2016 +0000
- Parent:
- 1:3010b44f07ff
- Commit message:
- 0
Changed in this revision
diff -r 3010b44f07ff -r 6ef0af7c37d6 EthernetInterface.lib --- a/EthernetInterface.lib Mon Jul 13 18:50:53 2015 +0000 +++ b/EthernetInterface.lib Fri Sep 09 13:14:00 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/EthernetInterface/#2fc406e2553f +http://mbed.org/users/mbed_official/code/EthernetInterface/#183490eb1b4a
diff -r 3010b44f07ff -r 6ef0af7c37d6 IFTTT.lib --- a/IFTTT.lib Mon Jul 13 18:50:53 2015 +0000 +++ b/IFTTT.lib Fri Sep 09 13:14:00 2016 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/mbedAustin/code/IFTTT/#c916e13a269a +https://developer.mbed.org/users/mbedAustin/code/IFTTT/#935972c2f628
diff -r 3010b44f07ff -r 6ef0af7c37d6 main.cpp --- a/main.cpp Mon Jul 13 18:50:53 2015 +0000 +++ b/main.cpp Fri Sep 09 13:14:00 2016 +0000 @@ -9,13 +9,14 @@ int main() { pc.baud(9600); - eth.init(); //Use DHCP + EthernetInterface eth; eth.connect(); + wait(0.5); printf("IP Address is %s \n\r", eth.getIPAddress()); TCPSocketConnection socket; // Initialize ifttt object, add up to 3 optional values, trigger event. - IFTTT ifttt("YourEventName","ChangeToYourSecretKey", &socket); // EventName, Secret Key, socket to use + IFTTT ifttt("OWJMAN","bkJhw8soKcjx28zrqAgeW2", &socket); // EventName, Secret Key, socket to use ifttt.addIngredients("this is awesome","test-ing","data!!!"); // 3 optional Values to send along with trigger. ifttt.trigger(); @@ -28,6 +29,4 @@ ifttt.trigger(IFTTT_POST); eth.disconnect(); - while(1) { - } }
diff -r 3010b44f07ff -r 6ef0af7c37d6 mbed-rtos.lib --- a/mbed-rtos.lib Mon Jul 13 18:50:53 2015 +0000 +++ b/mbed-rtos.lib Fri Sep 09 13:14:00 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#d3d0e710b443 +http://mbed.org/users/mbed_official/code/mbed-rtos/#3da5f554d8bf
diff -r 3010b44f07ff -r 6ef0af7c37d6 mbed.bld --- a/mbed.bld Mon Jul 13 18:50:53 2015 +0000 +++ b/mbed.bld Fri Sep 09 13:14:00 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/2e9cc70d1897 \ No newline at end of file