Update screek-humen-sensor-2a.yaml
Thanks to JurnD for pointing out that we miscalculated a byte count on the distance resolution of p3.
This commit is contained in:
parent
82ad16d842
commit
3b1445fccb
|
|
@ -329,7 +329,7 @@ uart:
|
||||||
}else{
|
}else{
|
||||||
p3_speed = 0 - p3_speed;
|
p3_speed = 0 - p3_speed;
|
||||||
}
|
}
|
||||||
int16_t p3_distance_resolution = (uint16_t((bytes[19] << 8) | bytes[18] ));
|
int16_t p3_distance_resolution = (uint16_t((bytes[27] << 8) | bytes[26] ));
|
||||||
|
|
||||||
id(target1_x).publish_state(p1_x);
|
id(target1_x).publish_state(p1_x);
|
||||||
id(target1_y).publish_state(p1_y);
|
id(target1_y).publish_state(p1_y);
|
||||||
|
|
@ -353,4 +353,4 @@ button:
|
||||||
- platform: factory_reset
|
- platform: factory_reset
|
||||||
disabled_by_default: True
|
disabled_by_default: True
|
||||||
name: Factory Reset
|
name: Factory Reset
|
||||||
id: factory_reset_all
|
id: factory_reset_all
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user