mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
9ef662a575
The documentation is incorrect, see [0] [0] https://forum.riot-os.org/t/lc709203f-test-code-giving-hardfault/3509 |
||
---|---|---|
.. | ||
app.config.test | ||
main.c | ||
Makefile | ||
README.md |
About
This is a test application for the ON Semiconductor lc709203F Battery Fuel Gauge
Usage
Just enter the make BOARD=??? flash
command in the tests/driver_lc709203F/
folder.
Make sure the LC709203F_PARAMS_ALARM_PIN
is set in your boards board.h
Results
The sensor will first test the low RSOC interrupt by setting the threshold limit to 100%. Therefore a low RSOC interrupt should be triggered and the message "ALARM low RSOC" should be printed to the terminal. After that all major measurements will be printed and refreshed every 5s.