Added radio sensor.

This commit is contained in:
Marco Grella 2015-09-07 19:59:03 +02:00
parent 17aafb9daa
commit b7459a12c1
7 changed files with 157 additions and 5 deletions

View file

@ -50,6 +50,9 @@
#define X_AXIS 0x00
#define Y_AXIS 0x01
#define Z_AXIS 0x02
#define ABS_VALUE(x) (((x)>0)?(x):(-(x)))
#define DBM_VALUE(x) (-120.0+((float)((x)-20))/2)
/*---------------------------------------------------------------------------*/
#endif /*SENSOR_COMMON_H_*/
/*---------------------------------------------------------------------------*/