mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-20 11:06:46 +00:00
Updated Hardware: Battery (markdown)
parent
ca20590214
commit
778816fcf5
@ -13,6 +13,8 @@ Maximum Capacity: 60,000 kJ
|
|||||||
| `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ in the B register |
|
| `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ in the B register |
|
||||||
| `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery in the B register |
|
| `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery in the B register |
|
||||||
|
|
||||||
|
Your Cubot will turn to a red color when its battery level is below 50kJ.
|
||||||
|
|
||||||
As of v1.2a, the only way to refill the battery is to use the temporary `REFILL` = `0xFFFF` value in the A register (See [#2](https://github.com/simon987/Much-Assembly-Required/issues/2))
|
As of v1.2a, the only way to refill the battery is to use the temporary `REFILL` = `0xFFFF` value in the A register (See [#2](https://github.com/simon987/Much-Assembly-Required/issues/2))
|
||||||
```assembly
|
```assembly
|
||||||
MOV A, 0xFFFF
|
MOV A, 0xFFFF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user