1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
Francesco Gazzetta
4d4c83e851 Docs and constants for hrs3300.set_drive()
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2022-05-28 17:36:51 +02:00
Francesco Gazzetta
0cca03a94b Use functions from driver in beacon app
Instead of setting registers from the app.

* add wasp.drivers.hrs3300.set_hwt()

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2022-05-28 17:36:51 +02:00
Daniel Thompson
bbf7d3aa14 drivers: hrs3300: Reduce HGAIN to x8
Experimentally drop the HGAIN to x8. Currently the evidence base for
this change is a little weak but it doesn't seem to be *worse* than
what we have now. Therefore I hope the wasp-os users will forgive me
for using them as guinea pigs!

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-09-10 21:17:57 +01:00
Daniel Thompson
294797d826 hrs3300: Defer initialization until the HRS is used
This means hardware failure won't cause the initial boot to fail. This
won't stop the heart rate app from crashing when it starts up but at
least it will give a comprehensible crash report.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11 22:07:21 +00:00
Daniel Thompson
417e408dc4 drivers: hrs3300: Add a basic HRS3300 sensor driver
Add the driver and enable it on PineTime.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-06-22 22:22:40 +01:00