firmata / arduino

Firmata firmware for Arduino
GNU Lesser General Public License v2.1
1.53k stars 515 forks source link

Analog Pins on Constant Voltage #483

Open djc-arduino opened 3 years ago

djc-arduino commented 3 years ago

Hey, I use a Arduino Mega with the Standartfirmata Sketch on it. after a little bit of testing i found out that the Analog Pins (A0-A15) are on Constant Voltage. The Problem is I need all the Analog Pins for my Project. I nedd Help.

jguille2 commented 3 years ago

Hi @djc-arduino ,

I tried to answer your question in your other issue (https://github.com/firmata/firmata.js/issues/243). Is this not fine for you?

Continue... But note that all the analog pins are available. But they are initially in OUTPUT mode... and they will "turn" to INPUT mode when you start the reading.

Joan