I successfully tried the Servo example from your github repository (with my brushless motors, but I guess this should not matter?).
But there seem to be only 2 channels for PWM, but my quad obviosuly has 4 motors (Ardupilot can control all 4 motors).
I get the error
Can't init channel 2 (from PWM.cpp:18).
Checking the filesystem it shows only 2 pwm channels:
ls /sys/class/pwm/pwmchip0 device export npwm power pwm0 pwm1 subsystem uevent unexport ls /sys/class/pwm/ pwmchip0
How do I control channel 3 and 4?