-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Software serial junk in nodemcu #4915
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
Comments
I assume it is a programming error. Because nothing you have said indicates a problem with the ESP8266/Arduino repository. This is not a general help forum. It is specifically here to deal with repository code errors or changes to this repository. If you need help in programming then places like www.esp8266.com and stackoverflow.com is where you should ask your questions. But when you do, provide relevant information. Things that you have tried, What code you are using. What libraries if any. |
I happened to play around with the software serial these days too, and I came across the same issues. Here are some thoughts without knowing your specific context.
|
I used the following library for software serial.. https://github.com/plerup/espsoftwareserial #include <SoftwareSerial.h> SoftwareSerial swSer(12, 14, false, 256); void setup() { void loop() { |
How about filling out the required information in the Form when you opened the issue? ----------------------------- Delete below ----------------------------- If your issue is a general question, starts similar to "How do I..", is related to 3rd party libs, or is related to hardware, please discuss at a community forum like esp8266.com. INSTRUCTIONSIf you do not follow these instructions, your issue may be dismissed.
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/stack_dump.html
https://arduino-esp8266.readthedocs.io/en/latest/Troubleshooting/debugging.html
----------------------------- Delete above ----------------------------- Basic Infos
Platform
Settings in IDE
Problem DescriptionDetailed problem description goes here. |
@viswanadh401 Why do you think there is a problem with the ESP8266/Arduino repository? Why did you open an issue here? The library that you are using for the software serial is an external component, not a part of this repository? |
There is an issue with the pin interrupt related to waveform/pwm/etc handling that was introduced recently, which may be related. I say may, because I'm not certain, but I suspect it could cause havoc with the delicate timing of softwareserial. There is another issue open where the softwareserial is experiencing a wdt on read. |
I am sending some characters from my STM32F1xx at a baud rate of 9600. I wrote the code for software serial in my nodemcu for pins 12, 14. [SoftwareSerial swSer(12, 14, false, 256);] And set the baud rate at 9600 and trying to print in serial of nodemcu at 9600. The serial port showing ⸮⸮⸮⸮⸮⸮⸮⸮ continuously. I set the baud rate in serial com is 9600 and Both NL&CR. I upload the code at 115200 speed to nodemcu. How to receive correct data...? Please help.
Thanks in Advance
The text was updated successfully, but these errors were encountered: