arduino icon indicating copy to clipboard operation
arduino copied to clipboard

How to change TX RX pin for Nano

Open ratulbmg opened this issue 2 years ago • 3 comments

some Arduino can not support pin 1 and pin 2 as receive and send data. so we need to assign two new pins with the help of serialsoftware. How can I change those pins? Currently i am using Arduino nano

ratulbmg avatar Mar 25 '23 10:03 ratulbmg

Sorry, I don't fully understand what you're trying. Are you trying to talk to the Arduino Nano using pins 0 and 1? I never really used this, but I'm quite sure that should work out of the box. What problem are you having?

pgrawehr avatar Mar 29 '23 18:03 pgrawehr

How do I use softwareSerial Library in Firmata?

ratulbmg avatar Jul 10 '23 19:07 ratulbmg

I never tried this myself, but you should be able to just replace the serial stream you pass as argument to Firmata.begin(stream) with a software-serial instance.

pgrawehr avatar Jul 10 '23 20:07 pgrawehr