Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change TX RX pin for Nano #499

Open
ratulbmg opened this issue Mar 25, 2023 · 3 comments
Open

How to change TX RX pin for Nano #499

ratulbmg opened this issue Mar 25, 2023 · 3 comments

Comments

@ratulbmg
Copy link

ratulbmg commented Mar 25, 2023

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 ratulbmg changed the title How to change TX RX pin How to change TX RX pin for Nano Mar 25, 2023
@pgrawehr
Copy link
Contributor

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?

@ratulbmg
Copy link
Author

How do I use softwareSerial Library in Firmata?

@pgrawehr
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants