Charger
High-level API
Device name:
chargerProvided by the charger block.
Methods
isCharging():booleanGets whether the charger is currently transferring energy to something on top of it.
- Returns whether energy is being transferred.
Mid-level API
Device name:
CHARGRMethods
1 isChargingGets whether the charger is currently transferring energy to something on top of it.
- Returns one byte,
1 if energy is being transferred, 0 otherwise.