Seeed-Studio / GPRS_SIM900

library for GPRS shield with sim900 module.
MIT License
138 stars 96 forks source link

use serial2 mega #20

Closed beryindo closed 6 years ago

beryindo commented 6 years ago

not work use serial2 in mega2560. any solution ?

lanselambor commented 6 years ago

Not all pins on the Mega and Mega 2560 support change interrupts, only the following can be used for RX: 10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69.

Solution: Take down the jumper aim for selecting serial type, by default it connects Rx/Tx with D7/D8, use two jumper wire to connect Rx/Tx with D11/D10.

001