tambien / oscuino

[MOVED] OSC implementation for the Arduino Platform
https://github.com/CNMAT/OSC
22 stars 15 forks source link

servo configuration: Duty Cycle range and Frequency #9

Closed batchku closed 11 years ago

batchku commented 11 years ago

my scope says the PWM's for the servos are runnin at 49Hz. it should be 50; i assume this is the fault of the servo library?

also: we need a way to set the duty-cycle range, independently for each servo. currently it goes from 2.76% to 12.32%. different servo's require different ranges. can we do that on the oscuino side?

tambien commented 11 years ago

oscuino is simply calling the servo library and not handling servos explicitly.

this might be out of the scope of oscuino, and maybe even arduino. i couldn't find an example of altering the servo duty-cycle. if you could find a library or something out there that does this in a high level way, i could definitely incorporate it into oscuino.