-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi,
A question about the function getVBUS.
I am using a Grasshopper board (LoRa), powered with two 1.5 batteries which give 3.2V. I am powering it through the LDO voltage regulator.
I would like to include the voltage level into the periodic upload message to be aware of the state of charge of the batteries.
When I call the function "Serial.print(STM32L0.getVBUS());" I get a "1" on the Arduino serial monitor.
Is this what I am supposed to get? How would the message change as the voltage drops?
Thanks
Riccardo
Metadata
Metadata
Assignees
Labels
No labels