firmata / firmata.js

JavaScript implementation of the Firmata protocol
710 stars 147 forks source link

Analog Pins constant Voltage #243

Closed djc-arduino closed 3 years ago

djc-arduino commented 3 years ago

Hey, im using a Arduino Mega with the Standart Firmata script. When the Arduino is connetcet with the PC The anlog pins are on constant Voltage. WHY

jguille2 commented 3 years ago

Hi, If I understand your question, I think the answer is that in Firmata, all pins are initially in OUTPUT mode, in LOW state.

Maybe this is not the best from an electronic point of view (you can find different issues and discussions about this, and requests to change this for future versions). But now, this is the current behavior.

Joan