Git Product home page Git Product logo

Comments (4)

switchdoclabs avatar switchdoclabs commented on August 24, 2024

from ourweatherweatherplus.

gb0101010101 avatar gb0101010101 commented on August 24, 2024

Hi John,

Thanks for the prompt reply. I managed to get it to compile with the following changes:

#include "Wire.h" -> #include <Wire.h>
#include "Crc16.h" -> Renamed file from repo to match
#include "elapsedMillis.h" -> Renamed file from repo to match
#include <String.h> -> #include <string.h>
#include <Time.h> -> #include <time.h>

#include "user_interface.h" problem disappeared without me changing anything. No I dea why it happened.

Also had to modify 2 occurrences of Wire.requestFrom() in WXLink.h
Wire.requestFrom(0x08, 32, true); -> Wire.requestFrom(8, 32, 1);
This is using ESP8266 Wire v2.4.2 library. I think the 2nd value was wrong type but chnaged all to 'int' to match candidate for an easier change.

Will post other issues on the Switchdoc Forum of which hopefully there will be none. Just wanted to respond here so that others would know what needed to be changed.

from ourweatherweatherplus.

ConorIA avatar ConorIA commented on August 24, 2024

Thank you @gb0101010101 for this guide. I followed your indications in #16 (comment) and managed to compile. The changes should be made in the repo. I may do my part and open a PR later in the week. Also, I found that WifiManager.h needs to be updated for newer versions of the https://github.com/esp8266/Arduino. (I was running into this bug) Instead of taking on that challenge, I just installed version 2.5.0 (I tried to guess what version may have been used to compile here) and that worked.

EDIT: I see @gb0101010101 has already made substantial changes on their fork. Amazing. Some of the improvements could be cherry-picked back here. I have a question about one of the commits, but issues on the fork are disabled and no email is on the profile. @gb0101010101, please send me an email at [email protected] if you don't mind me asking about the AM2315 driver.

from ourweatherweatherplus.

MrDornback avatar MrDornback commented on August 24, 2024

A word of advice, which bit me in my backside when I wasn't paying attention.
If you change includes from local "" to global <>, you may be missing some custom functions/handlers that are specific to the SDL software and .h .cpp files.

I found this when dealing with an HTTP_HEAD re-declaration issue...
#23

from ourweatherweatherplus.

Related Issues (18)

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.