1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-12-21 11:01:11 +03:00

Align types: int to unsigned int

Block send SMS until finished operation.
GSM3IO.h. Keeps most of board-dependant pins
Flush buffer after GPRS detach
Delete some references to HardwareSerial.h
Include OFF modem status
This commit is contained in:
Javier Zorzano
2015-01-08 18:36:41 +01:00
parent 20ac20f629
commit 2b14a9349c
16 changed files with 83 additions and 35 deletions

View File

@@ -0,0 +1,26 @@
#ifdef TTOPEN_V1
#define __POWERPIN__ 5
#define __RESETPIN__ 6
#else
#define __RESETPIN__ 7
#endif
#if defined(__AVR_ATmega328P__)
#ifdef TTOPEN_V1
#define __TXPIN__ 3
#define __RXPIN__ 4
#define __RXINT__ 3
#else
#define __TXPIN__ 3
#define __RXPIN__ 2
#define __RXINT__ 3
#endif
#elif defined(__AVR_ATmega2560__) || defined(__AVR_ATmega1280__)
#define __TXPIN__ 3
#define __RXPIN__ 10
#define __RXINT__ 4
#elif defined(__AVR_ATmega32U4__)
#define __TXPIN__ 3
#define __RXPIN__ 8
#define __RXINT__ 3
#endif