For the complete documentation index, see llms.txt. This page is also available as Markdown.

Class «battery»

This article is automatically translated from Russian by Google Translator.

Provides access to information about the battery or power supply unit.

readVoltage

Returns the current-voltage of the battery (or power supply) in volts.

Syntax

brick.battery().readVoltage();
brick.battery().readVoltage();

Last updated

Was this helpful?