LaColorduino
LaColorduino copied to clipboard
afruit_ADS1015.h:28:10: fatal error: util/delay.h: No such file or directory
need the libraries
i get a error no file delay.h in
afruit_ADS1015.h:28:10: fatal error: util/delay.h: No such file or directory
Sorry for the inconvenience! I need more information to reproduce this problem.
- Which version are you using of Arduino IDE (Microsoft Store or exe)?
- What is the version number of it (It's showing in the title of it)?
- What version are you using for the library?
The library you asked for is preinstalled with the IDE. Can you check this path:
\Documents\ArduinoData\packages\arduino\tools\avr-gcc\4.9.2-atmel3.5.4-arduino2\avr\include\util\
4.9.2-atmel3.5.4-arduino2 may look different.
Hi, first of all I need to say, awesome project!! Tried my first steps of following your tutorial and also failed at the same stage. Missing the Adafruit_ADS1015.h. If I follow your link I miss all the arduino directory (only have an esp8266 directory inside the packages directory.
Restarted this morning and saw that I didn't install the exact versions of the libraries as you mentioned in the Wiki. Did that and the first part of the sketch did compile now.
An issue that I encounter now is: no matching function for call to 'NTPClient::NTPClient(WiFiUDP&, const char [20], int, int)'
I think it is related to the time.h manual installation. In the Github it is mentioned that I should install this manually by copying the files to my Sketch directory. When I copied it asked me whether I was ok to overwrite some files. So apparently there was already a Time directory in my Arduino/libraries...
I '//'-ed this line to see how far the compile would go. It got stuck on the NTP tab, at timeClient.update(). So I suspect the time library is my issue currently.
- Thank you very much! I never thought that, there were people out there who are interested into this project. I'm feeling bad now, that it doesn't work so flawless like expected. Sorry for any inconvenience.
- I'm I right that an update/downgrade libraries solved the first problem
delay.h? I was tinkering all the time just to try to replicate this problem.
- Let's move to the new problem. I'm not sure if I understand you completely.
- How exactly did you install the
Time.hlibrary? This library is pre-installed with Arduino IDE. The writers are “Michael Margolis” and “Paul Stoffregen”. You can check it here:\Documents\Arduino\libraries\Time\library.properties. I never overwrite it. - If it is broken, just try to re-install it from Arduino IDE. I can send you my file as well if you want?
- Ahhhh it seems I forget something. You need to install this library, too:
Name:
NTPClientBy:Fabrice WeinbergVersion:3.1.0
It is needed for your next issue. (In the last few years, I installed so many libraries, I didn't realize that this was missing in the wiki)
- No worries at all, it's amazing what you achieved and thanks a lot for sharing this! I have to admit I'm working on two projects currently (Awtrix as well, which is quite popular and I just got it working). I'm happy to bet a test user and try to get it up and running if that would help you and others? If not, then please ignore these findings :-)
- Selecting the versions that you mentioned in the wiki did indeed solve these issues (my fault)...
- Indeed, my version mentioned 'Stoffregen', which made me think I got the wrong version as well.
- I think by installing that library, my time issues seem to be gone :-)...
When compiling it now hangs at (line 118): 'InitSerial()' and states that InitSerial was not declared in this scope.
Thank you very much! It's a good feedback from you, which improve the tutorial!!
Awtrix looks interesting. Never heard of it before. Had to google it. I'll keep my eyes on it.
Currently, I re-code this project for the ESP32, because I'm not happy with the core design of the ESP8266. My goal is to make
- debugging much easier (human-friendly serial output messages)
- improving performance (at least removing lags while parsing information from a server)
- make it more stable (ESP32 has a better core code than the ESP8266)
- use both cores (for splitting tasks)
I plan to replace the ADS1X15 with the built-in ADC of this board, because there is no need any more.
To make this project even bigger, it will need a SD-Card slot. In this case I have the possibility for new features like:
- Offload Icons from the Colorduino to the SD card
- Change Icons without re-flashing the ESP32 or Colorduino
- Save/Update your configuration for WiFi, YouTube, Weather, etc. (even after restart)
- Save values of the last 32 days or even longer (plot it as line graph on the Colorduino)
- Host a Website to control/configure your smartwatch
- Save a full logfile of the ESP32
- etc.
At least, this is what I try to do…
Anyway, InitSerial() is in Tool_Serial.ino so it should work. Can you check this:
- If you open your project in Arduino IDE, is there a tab called
Tool_Serial.ino? - Check
OpenWeatherMap.ino. Maybe there is a}missing, at the end? - Maybe there is a
//or/**/somewhere in between? - Just in case, check if you include
<Wire.h>inA_ESP8266.ino - Move your project folder into
C:\A_ESP8266and try again.