Go Down

Topic: Doubt about pin 0,1,2 and 3 and tx/rx (Read 254 times) previous topic - next topic


Good evening,

I am working on a arduino UNO with the goal to switch to an arduino mini pro.

I am use to do that

Serialsoftware cell(2,3);

For the GPRS signal.

I am also getting GPS cords and until now I always saw examples which use the pin 2 and 3 pour the GPS and GPRS signal.

I would like to desperate both and use pin 2 and 3 for GPRS and pin 0 and 1 for GPS.

Serialsoftware cell(2,3);
Serialsoftware gps(0,1);

Is possible to use 0 and 1? Or should I use other pin.
I am a beginner and I heart that pin 0 and 1 are reserved.

What do you think?

Thank a lot.
Il ne suffit pas de tout savoir, la persévérance, c'est déjà presque tout!

Nick Gammon

Pins 0 and 1 are connected to hardware serial, so you don't need to use SoftwareSerial on them.


so you don't need to use SoftwareSerial on them.

And, in fact, it doesn't work if you try.

Go Up

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

shortcuts: alt+s submit/post or alt+p preview