HIT Project #3 https://community.freescale.com/docs/DOC-99621
Dependencies: EthernetInterface WebSocketClient mbed-rtos mbed
MonkeyDo!
These are the demo files for Freescale HIT project #3: Monkey Do. It uses a FRDM-AUTO + a FRDM-K64F to demo websockets for a simple IoT application.
See the main MonkeyDo page for all of the schematics, videos, GitHub links, etc for everything else!
https://community.freescale.com/docs/DOC-99621
GLUE/IO.cpp@0:29f58b9daa2c, 2014-07-04 (annotated)
- Committer:
- emh203
- Date:
- Fri Jul 04 22:55:47 2014 +0000
- Revision:
- 0:29f58b9daa2c
- Child:
- 1:d87a428e88ee
1st add
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emh203 | 0:29f58b9daa2c | 1 | #include "System.h" |
emh203 | 0:29f58b9daa2c | 2 | |
emh203 | 0:29f58b9daa2c | 3 | DigitalOut SSR_HIGH_CURRENT_1(PTC3); |
emh203 | 0:29f58b9daa2c | 4 | DigitalOut SSR_HIGH_CURRENT_2(PTC2); |
emh203 | 0:29f58b9daa2c | 5 | |
emh203 | 0:29f58b9daa2c | 6 | DigitalOut SSR_LOW_CURRENT_1(PTC1); |
emh203 | 0:29f58b9daa2c | 7 | DigitalOut SSR_LOW_CURRENT_2(PTC8); |
emh203 | 0:29f58b9daa2c | 8 | |
emh203 | 0:29f58b9daa2c | 9 | AnalogIn TempSensor(PTB11); |
emh203 | 0:29f58b9daa2c | 10 | |
emh203 | 0:29f58b9daa2c | 11 | Serial PC(PTB17, PTB16); |
emh203 | 0:29f58b9daa2c | 12 | |
emh203 | 0:29f58b9daa2c | 13 | extern EthernetInterface eth; |