Variables
voltmeter.cpp File Reference
#include <Arduino.h>
#include <voltmeter.h>
Include dependency graph for voltmeter.cpp:

Go to the source code of this file.

Variables

static const float V_CONVERSION = 40.92

Detailed Description

Battery volt meter for Segbot version 2.

Definition in file voltmeter.cpp.


Variable Documentation

const float V_CONVERSION = 40.92 [static]

Conversion for DFRobot Analog Voltage Divider DFR0051 V2.

The device divides the raw battery current by five, so a full range 5v input on analog pin 0 corresponds to 25v input.

Definition at line 49 of file voltmeter.cpp.



segbot_firmware
Author(s): Jose Bigio, Jack O'Quin, Tim Eckel (NewPing library)
autogenerated on Thu Jun 6 2019 21:37:01