Created Hardware: Legs (markdown)

Simon Fortier 2017-11-10 20:59:44 -05:00
parent 2f3a561d16
commit 110ce1d588

19
Hardware:-Legs.md Normal file

@ -0,0 +1,19 @@
Articulated spider-like legs. Enables your Cubot to walk on standard surfaces.
### Specifications
Manufacturer: 立方電子
Version: 1.0B
Default address: `0x0001`
Hardware ID: `0x0001`
### Interrupt Behavior
| Value of A | Action | Energy cost | Result |
| --- | --- | --- | --- |
| `1` | `SET_DIRECTION` | `10 kJ` | Set the direction |
| `2` | `SET_DIRECTION_AND_WALK` | `100 kJ` | Set the direction and walk forward |
Specify the direction in the B register:
`NORTH` = `0x0000`
`EAST` = `0x0001`
`SOUTH` = `0x0002`
`WEST` = `0x0003`