Closed kagemomiji closed 3 years ago
Hello.
I tried to use a 'Motion Sensor', but it would not work.
According to Motion Sensor BLE, the light staus is in 5byte [0:1]bits.
Howerver, your code reads value[13:14] which means 4byte [0:1]bits.
value[13:14]
Please check my fix. Thank you.
Hello.
I tried to use a 'Motion Sensor', but it would not work.
According to Motion Sensor BLE, the light staus is in 5byte [0:1]bits.
Howerver, your code reads
value[13:14]
which means 4byte [0:1]bits.Please check my fix. Thank you.