mirror of
https://github.com/simon987/Much-Assembly-Required.git
synced 2025-04-21 11:36:43 +00:00
Created Hardware: Legs (markdown)
parent
2f3a561d16
commit
110ce1d588
19
Hardware:-Legs.md
Normal file
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`
|
Loading…
x
Reference in New Issue
Block a user