Open antongit opened 5 years ago
Hello,
I have an issue with those PWM / Analog pins (like the pin10). If I change the "LattePandaFirmataDemo" so that I'm controlling PWM on pin 10 like this:
arduino.pinMode(10, Arduino.PWM); arduino.analogWrite(10, bar.Value);
arduino.pinMode(10, Arduino.PWM);
arduino.analogWrite(10, bar.Value);
my LED lights up ONLY when the slider is on the right and I'm sending 255, nothing happens in-between. The app gets very unresponsive as well.
This issue doesn't appear if I use pin11 which is not overloaded by any Analog pin.
Hello,
I have an issue with those PWM / Analog pins (like the pin10). If I change the "LattePandaFirmataDemo" so that I'm controlling PWM on pin 10 like this:
arduino.pinMode(10, Arduino.PWM);
arduino.analogWrite(10, bar.Value);
my LED lights up ONLY when the slider is on the right and I'm sending 255, nothing happens in-between. The app gets very unresponsive as well.
This issue doesn't appear if I use pin11 which is not overloaded by any Analog pin.