The GSM library apparently uses the Software Serial library to perform the communication. The Arduino Micro specified pins for the serial connection to the GSM is pin 2 and 3 (doc says, but see def of RXPIN
below?). I would like to shift this to pin 7 and 8 , with 8 as Rx
(has interrupt). However: Changing the definition of TXPIN
in GSM3IO.h
does not appear to give a working sketch. Also: The pin "number" here, does it refer to PDxx
number or other (a bit confused by all the pin names )
.
.
#elif defined(__AVR_ATmega32U4__)
#define __TXPIN__ 7
#define __RXPIN__ 8 /* Previous 3,8,3 ,... but */
#define __RXINT__ 8
#endif