Servo library

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
cnchelicopter
Posts: 8
Joined: Mon Sep 19, 2011 12:03 am

Servo library

Post by cnchelicopter »

I wonder why the author use a custom function to send command to the servo instead of using the Servo library? Anyone the reason why

timecop
Posts: 1880
Joined: Fri Sep 02, 2011 4:48 pm

Re: Servo library

Post by timecop »

Because servo library sucks would be my guess.
Of course, if you had used MCU with proper hardware PWM this wouldn't be a problem at all...

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: Servo library

Post by Alexinparis »

Hi, it's because the servo lib is not compatible with the Timers used in multiwii to drive ESCs.
The only way to use everything in the Atmel was to rewrite things from the roots.
The current implementation is also much lighter.

Post Reply