Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Arduino Shield Question

Status
Not open for further replies.

brian25

Member level 2
Member level 2
Joined
Feb 18, 2013
Messages
52
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,601
hi how to use multiple shields in Arduino?

if i have two..
example, GSM and Ethernet can this work simultaneously in void setup?


Code:
void setup(){

Serial.begin(9600);
    if (gsm.begin(2400)){
        Serial.println("\nstatus=READY");
        started=true;
    }
Ethernet.begin(mac, ip);
server.begin();

}
 

If you are not sure what each of the begin functions do, open library file and see if there is any setting that will overwrite the one previously set. Basically, i dont see the problem if there are no while loops in the begin function (and it should not be) and if they dont use the same pinout.
 
  • Like
Reactions: brian25

    brian25

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top