The is a feature request:
With the addition of ExtendedAnalogData in Firmata 2.2, it is possible to send
PWM values greater than 8 bits (assuming that in the future Arduino, Wiring,
etc may support PWM values > 255). In funnel, values between 0.0 and 1.0 are
passed to analogWrite and they are then scaled up to the range of 0 - 255. It
is not possible to send values greater than 255. My thought it to add a
'maxPWMValue' property to the Pin class that is default to 255, then in
analogWrite, use the value of maxPWMValue rather than the literal "255" to
scale the value. In the future, perhaps the firmata configuration query could
report the maxPWMValue of a pin.
Original issue reported on code.google.com by jeff.ho...@gmail.com on 14 Jan 2012 at 7:26
Original issue reported on code.google.com by
jeff.ho...@gmail.com
on 14 Jan 2012 at 7:26