diff --git a/Hardware:-Legs.md b/Hardware:-Legs.md new file mode 100644 index 0000000..6b0f131 --- /dev/null +++ b/Hardware:-Legs.md @@ -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` \ No newline at end of file