sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
OWPJON-sensor-commands.h
Go to the documentation of this file.
1 // more can be added as needed ...
2 // do not use 0x00 as this is the string terminator
3 
4 #define READ_INFO 0x01 // return generic sensor info
5 #define READ_VCC 0x11 // return supply voltage
6 #define READ_TEMP 0x12 // return chip temperature
7 #define READ 0x21 // return memory data
8 #define WRITE 0x22 // store memory data
9 //#define READ_CAL 0x31
10 #define WRITE_CAL 0x32 // store calibration value in memory
11 //#include READ_RTC ....
12 
13 #define READ_DS2438_TEMP 0x41
14 #define READ_DS2438_CHA 0x42
15 #define READ_DS2438_CHB 0x43
16 #define READ_DS18x20_TEMP 0x44
17 #define READ_DS2438_ROM 0x4A
18 #define READ_DS18x20_ROM 0x4B
19 //#define READ_DS2438_RTC ....
20 
21 #define READ_SENS_TEMP 0x51
22 #define READ_SENS_HUM 0x52
23 #define READ_SENS_PRES 0x53
24 #define READ_LIGHT_BB 0x54
25 #define READ_LIGHT_UV 0x55
26 #define READ_LIGHT_VIS 0x56
27 #define READ_LIGHT_IR 0x57
28 #define READ_AUDIO_CHA 0x58
29 #define READ_AUDIO_CHB 0x59
30 #define READ_OPTION 0x5F // READ_AS7265X