1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-07 06:01:35 +03:00

Add method to use GPIO13 and GPIO15 as UART RX and TX

This commit is contained in:
Ivan Grokhotkov
2015-01-09 02:33:42 +03:00
parent e5e6dbe222
commit 5c362798f9
2 changed files with 20 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public:
void begin(unsigned long baud) { begin(baud, 0); }
void begin(unsigned long, uint8_t);
void end();
void swap(); //use GPIO13 and GPIO15 as RX and TX
int available(void) override;
int peek(void) override;
int read(void) override;