-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.h
27 lines (20 loc) · 974 Bytes
/
settings.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __SETTINGS__H__
#define __SETTINGS__H__
#define INFO_FIRMWARE_TYPE "hdc1080"
#define INFO_FIRMWARE_VERSION "1.0.0"
#define SUBSCRIPTION_TIMER_INTERVAL 500
#define INTERNAL_TEMPERATURE_TIMER_INTERVAL 1000
#define VOLTAGE_TIMER_INTERVAL 1000
#define HDC1080_TIMER_INTERVAL 5000
#define DEFAULT_POLL_PERIOD 120000
#define DEFAULT_POLL_PERIOD_FAST 50
#define DEFAULT_POLL_PERIOD_FAST_TIMEOUT 500
#define DEFAULT_CHILD_TIMEOUT 240
#define ADC_SAMPLES_PER_CHANNEL 32
#define LED_SEND_NOTIFICATION BSP_BOARD_LED_0
#define LED_RECV_NOTIFICATION BSP_BOARD_LED_1
#define LED_ROUTER_ROLE BSP_BOARD_LED_2
#define LED_CHILD_ROLE BSP_BOARD_LED_3
#define TWI_SCL_M 17
#define TWI_SDA_M 15
#endif // __SETTINGS__H__