I'm experimenting with of0.9.0 and an Arduino (uno). Results so far are a bit hit-and-miss, and I'm trying to figure out what could be causing that.
I've breadboarded a kind of 'minimal arduino' setup: 1 servo, 1 digital in, 1 analog in, 1 pwm out, and am using a v3 Arduino Uno (on Linux/F23)
Couple of questions:
Are there some limits in ofArduino/Firmata that I'm not aware of? For example, it seems that I cannot have a PWM out and a servo working at the same time.
I've dropped the framerate as low as 20fps, but as soon as I enable a PWM pin, the servo stops responding.I've pulled in the 'new' Arduino code from @DomAmato in my own of0.9.0 branch, but when I run the app, analog pin 0 is no longer recognized ('Pin 0 does not exist on the current board'), and PWM mode cannot be set ('PWM is not supported for this pin'). PWM+servo behaviour is otherwise the same: if I try to enable PWM (even though it fails), the servo stops responding.
Without the new Arduino code the behaviour is the same as with of0.8.4
Any clues? I'm happy to help debug this, but am not sure where to start...