Pages: [1]   Go Down
Author Topic: extern NewSoftSerial lcdSerial <- whats wrong ?  (Read 842 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

i have few C files and in the first one i have :

NewSoftSerial lcdSerial(rxPin,txPin);

i want to use the lcdSerial object in the other files how can i declare it ?

When i try to do extern NewSoftSerial lcdSerial; it complains.

Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 309
Posts: 26538
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

extern NewSoftSerial lcdSerial[glow](what?)[/glow];
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Pages: [1]   Go Up
Jump to: