()
| 56 | return pos |
| 57 | |
| 58 | def test(): |
| 59 | PIN_LIST = [0, 1, 2, 3, 4, 5] |
| 60 | DIR_LIST = [0, 0, 0, 1, 0, 0] |
| 61 | |
| 62 | arm = Arm_6(PIN_LIST, DIR_LIST) |
| 63 | time.sleep(3) |
| 64 | |
| 65 | while 1: |
| 66 | |
| 67 | #arm.set_single_ms(3, 2.5) |
| 68 | arm.set_single_angle(3, -90) |
| 69 | arm.flesh() |
| 70 | print("-90") |
| 71 | time.sleep(3) |
| 72 | |
| 73 | arm.set_single_angle(3, 90) |
| 74 | arm.flesh() |
| 75 | print("90") |
| 76 | time.sleep(3) |
nothing calls this directly
no test coverage detected