[PD] servo pinmode on [arduino]

Hans-Christoph Steiner hans at at.or.at
Mon Jan 30 05:05:12 CET 2012


I think it depends on the servo, unfortunately.  When I wrote that code, I tested it with 2 or 3 servos that I had, and it went 180 with those.  There are also servos that do more or less than 180, like 90 or 360, even 720 or more.

.hc

On Jan 28, 2012, at 2:07 PM, Matteo Sisti Sette wrote:

> Hi,
> 
> When using [arduino] and setting a digital pin in "servo" mode, the input range that corresponds to the full 180-degree range of the servo is 0 to 0.66667 instead of 0 to 1.
> 
> Is it:
> A - that different servo motors have different specifications
> B - a wrong scale factor in [arduino], or
> C - a wrong scale factor in the arduino code itself (i.e. the StandardFirmata sketch or the servo library)
> ?
> 
> I know I can easily work around it by rescaling in Pd...
> 
> thanks
> m.
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list


----------------------------------------------------------------------------

“We must become the change we want to see. - Mahatma Gandhi




More information about the Pd-list mailing list