Battery Read

Library

Description

Read the voltage of the battery connected to the TFC shield.
The block output emits a value in the range 0.0 –1.0 to indicate
the current voltage level of the battery as a percentage of an assumed
7.2 Volt battery.

During simulations without the hardware, this block emits zeroes.

Parameters

Sample time

Specify how often the block reads the battery voltage level,
in seconds.