Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmata and PWM-pins problems #14

Open
antongit opened this issue May 10, 2019 · 0 comments
Open

Firmata and PWM-pins problems #14

antongit opened this issue May 10, 2019 · 0 comments

Comments

@antongit
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant