readme.md updated for sensors
This commit is contained in:
1 parent
d597f50d53
commit
49bd69ca3a
2 files changed
+14
-9
No files matched your search
+9
-8
@@ -45,25 +45,26 @@ uint8_t *sensor_read(uint8_t sensor) {
|
||||
|
||||
case 1:
|
||||
|
||||
// insert user specific sensor data frames here */
|
||||
buf[0] = length;
|
||||
buf[1] = 0xff;
|
||||
buf[2] = 0xa0;
|
||||
buf[3] = 0x01;
|
||||
buf[1] = 0x01;
|
||||
buf[2] = 0x02;
|
||||
buf[3] = 0x03;
|
||||
break;
|
||||
|
||||
case 2:
|
||||
|
||||
buf[0] = length;
|
||||
buf[1] = 0xff;
|
||||
buf[2] = 0xa0;
|
||||
buf[3] = 0x02;
|
||||
buf[1] = 0x01;
|
||||
buf[2] = 0x02;
|
||||
buf[3] = 0x03;
|
||||
break;
|
||||
|
||||
case 3:
|
||||
|
||||
buf[0] = length;
|
||||
buf[1] = 0xff;
|
||||
buf[2] = 0xa0;
|
||||
buf[1] = 0x01;
|
||||
buf[2] = 0x02;
|
||||
buf[3] = 0x03;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user