Home automation using Xbee radios

Dependencies:   EthernetNetIf HTTPServer RPCInterface mbed C12832_lcd

Link to Notebook Page

XbeeCommLib.h

Committer:
chrisisthefish
Date:
2013-11-26
Revision:
7:15cbbbe6105c

File content as of revision 7:15cbbbe6105c:

#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();