Home automation using Xbee radios
Dependencies: EthernetNetIf HTTPServer RPCInterface mbed C12832_lcd
Diff: XbeeCommLib.h
- Revision:
- 7:15cbbbe6105c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/XbeeCommLib.h Tue Nov 26 06:16:25 2013 +0000 @@ -0,0 +1,28 @@ +#include "mbed.h" +#include "PinDetect.h" +#include "C12832_lcd.h" +#include "LM75B.h" + + +extern unsigned char data[500]; +extern int dataCounter; +extern bool clear; + +extern DigitalOut led1; +extern DigitalOut led2; +extern DigitalOut led3; +extern DigitalOut led4; + +extern Serial xbee1; +extern C12832_LCD lcd; +extern LM75B sensor; +extern PwmOut green; +extern PwmOut blue; +extern PwmOut red; + + +float getAnalogVoltage(int analogInputIndex, int totalPacketBytes, int digitalSampleBytes); + +void digitalWriteXbee(unsigned int addrHigh, unsigned int addrLow, int outputIndex, bool value); + +void monitorXbee(); \ No newline at end of file