Teensy 3.6 + Voltage Sensor

Voltage Sensor

Photo

Using 1.8k ohms resistors

5 volts

Voltage sensor is useful to monitor the battery.

Sketch