Good evening folks. I was hoping someone could point me in the right direction to solve an issue I am having. The readings I get in serial from A0 and A1 deviates from 0 up to 40(should be 0 at this time) when I have the Nextion 3.2 enhanced tft attached to its assigned digital pins. The readings go back to 0 where they should be when I disconnect the Nextion. I am new to Arduino, Nextion and engineering any kind of circuits.. so my apologies in advance if this is a no brainer thing. Please let me know if I missed any information that might be useful. Thanks
Do you have the Nextion Ground and Arduino ground tied together sharing common ground?
Have you properly defined your pins as digital.
These are thing to check, may or may not resolve your issues
Thank you, Riaan Heath. I will definitely go read about pull up/down resistors.
@Patrick Martin. Both Nextion and Arduino are grounded together. Best I can tell, I have properly defined all pins. I am using the Serial1 for communication between the Mega and Nextion now. The issue appears to no longer be present. Thank you