Руслан Бредун
/
stm32-sensor-base2
test
Diff: global.h
- Revision:
- 10:0b7f23df690a
- Parent:
- 6:a760ce6defbe
- Child:
- 12:406f75196a12
--- a/global.h Thu Jul 30 13:04:10 2020 +0000 +++ b/global.h Wed Aug 26 14:25:05 2020 +0530 @@ -2,12 +2,15 @@ #define GLOBAL_H_ #include "mbed.h" -#include <ros.h> -#include <ros/time.h> #include "JSN_SR04.h" #include "AS5045.h" #include "E18_D80NK.h" #include <RS485.h> +#include "DS1820.h" + +#define MAX_SENSOSRS 32 + +DS1820* ds1820[MAX_SENSOSRS]; #define BLINKING_RATE 500