void setup() { Serial.begin(115200); } void loop() { Serial.printf("Battery Voltage: %f\r\n", api.system.bat.get()); delay(1000); }