# HG changeset patch # User ethanzonca@CL-SEC241-08.cedarville.edu # Date 2012-12-04 12:09:02 # Node ID e97303daddff3dedab498da1b48a305961f5e021 # Parent fb6b4f86ee7b77e8edfaeaf268fc6ee077fddce8 Initial import of sensordata implementation diff --git a/master/master/lib/sensordata.c b/master/master/lib/sensordata.c new file mode 100644 --- /dev/null +++ b/master/master/lib/sensordata.c @@ -0,0 +1,45 @@ +/* + * Master Firmware: Sensor Data + * + * Wireless Observational Modular Aerial Network + * + * Ethan Zonca + * Matthew Kanning + * Kyle Ripperger + * Matthew Kroening + * + */ + +#include "../config.h" +#include "sensordata.h" + +int16_t boardTemps[MAX_SLAVES]; +uint16_t variousSensors[MAX_SLAVES * (MAX_SLAVE_SENSORS - 1)]; + +void sensordata_setup() +{ + for(int i=0; i