Skip to content

rewrite HardwareSerial code for UART0 + UART1 support in ESP8266 #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 1, 2015
Merged

rewrite HardwareSerial code for UART0 + UART1 support in ESP8266 #31

merged 2 commits into from
Apr 1, 2015

Conversation

Links2004
Copy link
Collaborator

see issues #16

igrr added a commit that referenced this pull request Apr 1, 2015
HardwareSerial rewrite for UART0 and UART1 support
@igrr igrr merged commit b007427 into esp8266:esp8266 Apr 1, 2015
@igrr
Copy link
Member

igrr commented Apr 1, 2015

Great, thanks!

@hallard
Copy link
Contributor

hallard commented Apr 29, 2015

Hi guys,
Excellent, I was just looking into this for adding a 2nd UART, you done it; good. But I need a full 2nd UART. So do you think it would be possible to add the same for UART2 to have a full 2nd UART (GPIO13=RXD2 and TXD2=GPIO15) on ESP12 modules ?

@hallard
Copy link
Contributor

hallard commented Apr 29, 2015

Forget my message, just saw that UART2 (declared on nodemcu boards) is a "shared" uart with UART0 so need a kind of multiplex soft to have both working at the same time.
Sorry about this, I'm learning this new chip since only few days.

igrr added a commit that referenced this pull request Oct 29, 2015
HardwareSerial rewrite for UART0 and UART1 support
igrr pushed a commit that referenced this pull request Oct 29, 2015
@crteensy
Copy link

Is there any example code available that demonstrates the use of Serial1? I'm using an ESP-01 module and can't seem to transmit data with it in my arduino sketch. However, during flashing, data seems to be received by the device connected to GPIO2 (Serial1 Tx).

@Links2004
Copy link
Collaborator Author

Serial1.begin(921600); // or any other Baudrate
Serial1.println("Test123");

madpilot pushed a commit to madpilot/Arduino that referenced this pull request Jul 15, 2017
…p8266#31)

For HTTP public key pinning (RFC7469), the SHA-256 hash of the Subject
Public Key Info (which usually only changes when the public key
changes) is used rather than the SHA-1 hash of the entire certificate
(which will change on each certificate renewal).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants