Added radio sensor.
This commit is contained in:
parent
17aafb9daa
commit
b7459a12c1
7 changed files with 157 additions and 5 deletions
|
@ -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_*/
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue