Comments (4)
Probably one of these cause the issue:
#include <inttypes.h>
#include <avr/pgmspace.h>
#include "HardwareSerial.h"
Please try with them in orde to see which one fails.
from esp8266wifi.
Hmm,
#include <inttypes.h>
#include "HardwareSerial.h"
Do not effect the working of the sketch (that is: it remains correct)
#include <avr/pgmspace.h>
Does not compile: "fatal error: avr/pgmspace.h: No such file or directory"
Note that including < ESP8266WiFi.h> results in bitrates above 19.200k to produce garbage. 19k2 works fine.
from esp8266wifi.
Hmm... Could you make a copy of the header and try removing stuff until it unbreaks? I can't see anything serial-related except these three.
from esp8266wifi.
Yeah, i'll do some further investigating on what causes the malfunctioning.
I will also try some includes.
Note that the issue is not serial related, since the softserial is "soft" because it doesn't use the UART. It reads and writes on IO pins using interrupts and timing.
The trouble is therefore probably interrupt or maybe timing related. Could be an interrupt clash? A bit odd since it's just the header inclusion that already causes the issues.
I'll investigate further and let you know if it's really ESP8266Wifi or something else.
from esp8266wifi.
Related Issues (20)
- library.json is corrupt HOT 1
- can not connected to the server
- support chinese data transmission?
- ,
- can't stop client when client isn't receive data
- Sending string message to server via AP HOT 1
- Wrong names and links
- why not work
- Local Web Server, STM32 blue pill
- Error receiving a message from the server
- AT+CIPSTART link type error
- SerialESP8266wifi.h Listen to Incoming Message
- How configure SerialESP8266wifi.h as Client?
- Anomole
- Examples wont compile
- UDP
- Redeclaration of symbols When compiling
- Library Availability on Library Manager on Arduino IDE
- Error in downloading library HOT 2
- a
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp8266wifi.