adafruit / Adafruit_CircuitPython_BLE_BerryMed_Pulse_Oximeter

BLE Support for BerryMed Pulse Oximeters
MIT License
7 stars 6 forks source link

Use only latest data when reading value. Prevent sync errors. #4

Closed dhalbert closed 4 years ago

dhalbert commented 4 years ago

Data from the pulse oximeter arrives very quickly, but if it's polled infrequently, it will be out of date, and overwritten data can cause incorrect values, especially on BM1000B (newer model).

Issues found by adafruitguy in the Adafruit Forums: https://forums.adafruit.com/viewtopic.php?f=19&t=166909. Thank you!

githubguy007 commented 4 years ago

Thanks @dhalbert and @ladyada samples are now in sync on the BM1000B.