Pages: [1]   Go Down
Author Topic: Doubt about pin 0,1,2 and 3 and tx/rx  (Read 248 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 484
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

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

Global Moderator
Melbourne, Australia
Online Online
Brattain Member
*****
Karma: 511
Posts: 19323
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

http://www.gammon.com.au/electronics

Please post technical questions on the forum - not to me by personal message. Thanks a lot.

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 653
Posts: 50881
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
so you don't need to use SoftwareSerial on them.
And, in fact, it doesn't work if you try.
Logged

Pages: [1]   Go Up
Jump to: