EasyManua.ls Logo

XBee Shield - Page 13

XBee Shield
24 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
used. If you were using it with ATmega2560 (i.e. Arduino Mega 2560) or ATmega32U4 (i.e. Arduino
Leonardo, Pro Micro 5V/16MHz, Pro Micro 3.3V/8Mhz, FioV3, etc.), you would need to re-define
the software serial pin definitions, remove the solder jumpers for pin 3 & 2, and reroute the pins. For
more information about the limitations, try looking at the Arduino reference language for the
Software Serial library.
Arduino Software Serial Library
Pin Definitions
To use re-define the software serial pins on an Arduino Mega 2560 or Arduino Leonardo, you would
just need to comment out the line where it says:
SoftwareSerial XBee(2, 3); // RX, TX
and uncomment out the line here:
//SoftwareSerial XBee(10, 11); // RX, TX
Reroute Pins
To reroute the pins, on an Arduino Mega 2560 or Leonardo, you would need to remove the solder
jumper and reroute pads to the respective pins.
Pins Rerouted for ATmega2560-Based Pins Rerouted for ATmega32U4-Based
Page 13 of 24