Giter Club home page Giter Club logo

Comments (4)

cederberg avatar cederberg commented on August 16, 2024

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.

TeaZee avatar TeaZee commented on August 16, 2024

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.

cederberg avatar cederberg commented on August 16, 2024

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.

TeaZee avatar TeaZee commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.