Go Down

Topic: extern NewSoftSerial lcdSerial <- whats wrong ? (Read 922 times) previous topic - next topic

pixalta

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.


AWOL

extern NewSoftSerial lcdSerial[glow](what?)[/glow];
"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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy