You can use this sketch for controlling the Rasptank using the package provided by CyB3rn0id.
More info about Adeept Rasptank in this article.
This sketch is different than those used for software shortcuts since a key must be kept pressed until the user release it and you must release only that key, not all.
ENCODER
- not used
THUMBSTICK
- X axis: Move Forward / Backward (W / S)
- Y axis: TUrn Left / Right (A / D)
- Button: Not used
ROW 1
- Button 1: Open Hand (O)
- Button 2: Close Hand (P)
- Button 3:
- Button 4:
- Button 5:
ROW 2
- Button 6: Rotate Hand Clockwise (K)
- Button 7: Rotate Hand Counter-Clockwise (L)
- Button 8:
- Button 9:
- Button 10:
ROW 3
- Button 11: Move Arm Forward (N)
- Button 12: Move Arm Backward (M)
- Button 13:
- Button 14:
- Button 15:
ROW 4
- Button 16: Move Camera and Ultrasonic sensor Upward (R)
- Button 17: Move Camera and Ultrasonic sensor Downward (F)
- Button 18:
- Button 19:
- Button 20: