I have connected my Nextion (basic 7.0"") to TX/RX2 of an Arduino Mega, using the official library
the thing works fine
on pin #2 (attach 0) , there is a square signal from a speed sensor. before plugging the Nextion, I could measure the speed with arduino software
after I plug the Nextion, the line of pin2 is corrupted: there is a square signal that looks like a transmission, so my signal from the speed sensor is not visible any longer. As a workaround, I plugged my speed sensor to another D pin, it works again, but I would like to use this pin (because it is “attach” pin).
what can I do?