Set step inverted state @param inv - true if step is inverted (top half), false if step is normal (bottom half)
(boolean inv)
| 66 | * normal (bottom half) |
| 67 | */ |
| 68 | public void setInverted(boolean inv) { |
| 69 | int dat = getData() & 0x7; |
| 70 | if (inv) { |
| 71 | dat |= 0x8; |
| 72 | } |
| 73 | setData((byte) dat); |
| 74 | } |
| 75 | |
| 76 | /** |
| 77 | * {@inheritDoc} |