Use Analog pins as digital I/O

Hello guys,

I am discovering XOD and it looks very promising. I am trying to adapt a project I made previously to use XOD and I ran into a problem:

I have a 16x2 LCD screen and its the control lines (RS, EN, D4, D5, D6 & D7) are connected to the analog pins of the Arduino.
In XOD Inspector, I tried to set the pin values to the analog pins values like I would do with Arduino: A0 for Analog pin 0 and so on.
But it seems that XOD inspector doesn’t let you input letters so only digital pins can be used.

Do you guys know if there is a way to use any analog pins as digital I/O in XOD? (like this)

Thanks!

1 Like

Ignore the A0 designation and continue digital pin #s for analog pins. For example, the Uno has 13 digital pins, so A0 would be pin 14, A1 pin 15, etc.

3 Likes

good to know about this ant thats its possible to use analog pins as digital.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.