racerxdl / axispipe.py

0 likes
0 forks
2 files
Last active 9 months ago
A Joystick Axis Pipe. This is the Arduino code that receives through a serial interface the commands and generate the PPM Pulses.
1 #include <Servo.h>
2
3 Servo ch[6];
4
5 unsigned char buff[3];
6 unsigned short count;
7 unsigned short kcount = 0;
8 void TurnOn() {
9 ch[0].attach(3);
10 ch[1].attach(5);