Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 06df845

Browse files
Update piservo.yml
1 parent d3df8cc commit 06df845

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

config/piservo.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
1-
piservo:
1+
jetservo:
22
conf:
3-
ear: { id: 0, pin: 12, range: [-40, 40], start: 0 }
3+
servo1: { id: 1, pin: 17, range: [0, 180], start: 0 }
4+
servo2: { id: 2, pin: 18, range: [0, 180], start: 0 }
45
docs:
5-
description: "The piservos module is used to control servos via the raspberry pi."
6+
description: "The jetservo module is used to control servos on the Jetson Nano."
67
events:
78
sub:
8-
- piservo:move:
9-
description: "Move servo to absolute position."
9+
- jetservo:move:
10+
description: "Move both servos to the same absolute position."
11+
args:
12+
- angle: integer
13+
- jetservo:inversermove:
14+
description: "Move servos in inverse directions."
15+
args:
16+
- angle: integer
17+
- jetservo:left_move:
18+
description: "Move the left servo to an absolute position."
19+
args:
20+
- angle: integer
21+
- jetservo:right_move:
22+
description: "Move the right servo to an absolute position."
1023
args:
1124
- angle: integer

0 commit comments

Comments
 (0)