test

Dependencies:   MODDMA MODSERIAL mbed

Fork of IRIS_MBED by IRIS

botStateHandler.h

Committer:
JonathanAshworth
Date:
2015-04-09
Revision:
7:49aba2a2e847
Parent:
4:1017848d2fe1

File content as of revision 7:49aba2a2e847:

/* 
 * File:   botStateHandler.h
 * Author: jhudson
 *
 * Created on 25 March 2015, 13:31
 */

#ifndef BOTSTATEHANDLER_H
#define BOTSTATEHANDLER_H

struct sensorData {
    unsigned char fieldCount;
    float fields[10];
};

class botStateHandler
{
private:
    struct sensorData sensors[26];
public:
    botStateHandler();
    int getVal(unsigned char,unsigned char,float *);
    int setVal(unsigned char,unsigned char,float *);        
};

#endif  /* BOTSTATEHANDLER_H */