I've been using Python bindings for Arduino for a year, using values for PWM from 0 to 255 with no problem.
I had to reflash the Arduino, and know, after hours of research, I discovered that my Arduino UNO only accepts values from 0 to 127. I:
- have found the "analogWriteResolution()", but it's only for Duemilanove
- have found that there are different timers on couple of pins, but I have the same result on each pin.
- use a simple LED with a current limitation resistor of 1K
- have discovered that the line 66 of arduino/arduino.py would be better with a rstrip('\r\n')
- have added a pull request for an utf-8 trouble
Edit:
- The "Fade" test sketch is working with the 255 max value
- tried manually with direct serial.Serial.readline and write, with the same result
but I don't know what's wrong or what to search for, now.
Does anyone have an idea ?
Thanks