Hello,
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?
Hello opiffa,
Please read How to get the best out of this forum - Displays - Arduino Forum
Then provide more information so people can help you. Things like a schematic, photos of how you have it wired up and some code. If you have an oscilloscope then some traces and an indication of where you took them would help too.
What is an 'attach' pin? I suspect you mean a pin to which an interrupt can be attached, but that's not at all clear. There are other interrupt capable pins.
As to the problem you describe, no idea due to lack of information.
Have you seen Using Nextion displays with Arduino - Displays - Arduino Forum ?
This topic was automatically closed after 120 days. New replies are no longer allowed.