Руслан Бредун
/
stm32-sensor-base2
test
Diff: global.h
- Revision:
- 14:b3530522908e
- Parent:
- 12:406f75196a12
- Child:
- 16:82251ada9b04
--- a/global.h Sun Dec 06 11:06:23 2020 +0000 +++ b/global.h Mon Dec 14 10:20:16 2020 +0000 @@ -7,13 +7,15 @@ #include "E18_D80NK.h" #include <RS485.h> #include "DS1820.h" +#include "Watchdog.h" #define MAX_SENSOSRS 32 #define BLINKING_RATE 500 -#define TEST_REQUEST 0 -#define DEMO_CODE 1 +#define TEST_WATCHDOG 0 +#define TEST_REQUEST 0 +#define MAIN_CODE 1 // rs-485 pins #define UART1_TX PB_6