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.h
- Committer:
- emh203
- Date:
- 2014-07-17
- Revision:
- 1:d87a428e88ee
- Parent:
- 0:29f58b9daa2c
File content as of revision 1:d87a428e88ee:
#include "System.h" #include "EthernetInterface.h" #ifndef _IO_H #define _IO_H extern DigitalOut SSR_HIGH_CURRENT_1; extern DigitalOut SSR_HIGH_CURRENT_2; extern DigitalOut SSR_LOW_CURRENT_1; extern DigitalOut SSR_LOW_CURRENT_2; extern AnalogIn TempSensor; #define ENABLE_HIGH_CURRENT_RELAY SSR_HIGH_CURRENT_1 = 1; SSR_HIGH_CURRENT_2 = 1; #define DISABLE_HIGH_CURRENT_RELAY SSR_HIGH_CURRENT_1 = 0; SSR_HIGH_CURRENT_2 = 0; #define ENABLE_LOW_CURRENT_RELAY SSR_LOW_CURRENT_1 = 1; SSR_LOW_CURRENT_2 = 1; #define DISABLE_LOW_CURRENT_RELAY SSR_LOW_CURRENT_1 = 0; SSR_LOW_CURRENT_2 = 0; extern Serial PC; extern EthernetInterface eth; #endif