Dreamforce Heroku Sample mbed application for the FRDM-K64F. This application uses SocketIO to connect and communicate with Heroku.
Dependencies: BufferedSerial C12832 EthernetInterface HTTPClient-SSL LM75B MMA7660 SocketIO-k64f WebSocketClient-ThermostatDemo mbed-rtos mbed picojson
Fork of df-2013-minihack-thermostat-complete by
README.txt
- Committer:
- ansond
- Date:
- 2014-10-09
- Revision:
- 6:74c1e9c8c90e
- Parent:
- 0:26c48388f725
File content as of revision 6:74c1e9c8c90e:
Instructions: 1). Complete the “hands-on” exercises first - Required to get setup with an mbed account and the compiler environment 2). Import the “df-2013-minihack-thermostat-k64f” project into your mbed project workspace - Be sure to add and make current the “FRDM-K64F” board as the current board to compile to. You can modify the GPS coords and devie name in the same manner that you did in the hands-on session - this will enable you to quickly and easily identify your device on the map 3). Examine Thermostat.cpp in your project - In the top of the file, examine the Mini-hack challenge statement - Follow those instructions to modify the code to create a way to write text from the Heroku webservice A successful implementation will: - Enable you to see your mbed device on the map - Clicking on the device name (its a URL link) you should be able to go to the Devices - page on the website and enter "text" for the message name followed by a text message - after a brief delay, the text message should pop up briefly on the mbed device LCD References: - Project Source: http://mbed.org/teams/MBED_DEMOS/code/df-2013-minihack-thermostat/ - Completed Code: http://mbed.org/teams/MBED_DEMOS/code/df-2013-minihack-thermostat-complete/ To View Connected Devices - http://mc-control-1.herokuapp.com (username: <blank> password: foobar)