Updated Hardware: Battery (markdown)

Simon Fortier 2017-11-13 13:56:25 -05:00
parent ae763065db
commit 53fe3dfb02

@ -10,5 +10,5 @@ Maximum Capacity: 60,000 kJ
### Interrupt Behavior ### Interrupt Behavior
| Value of A | Action | Energy cost | Result | | Value of A | Action | Energy cost | Result |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `1` | `POLL` | `0 kJ` | Get the current charge of the battery in kJ | | `1` | `POLL` | `0 kJ` | Copy the current charge of the battery in kJ in the B register |
| `2` | `GET_MAX_CAPACITY` | `0 kJ` | Get the maximum capacity of the battery | | `2` | `GET_MAX_CAPACITY` | `0 kJ` | Copy the maximum capacity of the battery in the B register |