mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-12-20 01:45:58 +00:00
Updated Hardware: Battery (markdown)
@@ -10,5 +10,5 @@ Maximum Capacity: 60,000 kJ
|
||||
### Interrupt Behavior
|
||||
| Value of A | Action | Energy cost | Result |
|
||||
| --- | --- | --- | --- |
|
||||
| `1` | `POLL` | `0 kJ` | Get the current charge of the battery in kJ |
|
||||
| `2` | `GET_MAX_CAPACITY` | `0 kJ` | Get the maximum capacity of the battery |
|
||||
| `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 |
|
||||
Reference in New Issue
Block a user