0
(Hardware) Battery
OrdoFlammae edited this page 2019-11-26 16:45:08 -06:00

Generic medium-capacity battery.

Specifications

Manufacturer: 立方電子
Version: 1.0B
Default address: 0x000A
Hardware ID: 0x000A
Maximum Capacity: 60,000 kJ

Interrupt Behavior

Value of A Action Energy cost Result
1 BATTERY_POLL 0 kJ Copy the current charge of the battery in kJ into the B register
2 BATTERY_GET_MAX_CAPACITY 0 kJ Copy the maximum capacity of the battery into the B register

Your Cubot will turn to a red color when its battery level is below 100kJ.

Your battery will refill over time with the solar panel, or you can refill it by consuming Biomass.