-
Notifications
You must be signed in to change notification settings - Fork 127
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
Problem with ESP8266 #9
Comments
I had the same problem and I managed to get it to compile by changing max6675.cpp to:
I have just made it work -- using an ESP8266 ESP-01. |
ppotok, I think it solves the issue too. |
@donatoaz: Can you share how you connected the ESP-01 to the MAX6675? I tried:
And configured the code that way (and included your fix above):
Somehow i still only see zero degrees... Thanks in advance! Best Regards, |
@SirUli I published my code on github. I take it you have tested your temperature probe and it is working. I remember having some issues with using the RX pin as an input, something to do with bootup modes on the esp01... I am trying to find the table that shows the modes but cant find it... |
@donatoaz i forgot to set the pin-mode... oh man. Well now it works although i had to change the pinmode to: pinMode(3, INPUT); Not sure if that works for you, but that was at least valid in my case :) Thanks again for your quick help!! |
@SirUli good to know. Mine was already working. Nut I decided to switch to DS18s20, simply for cost reasons... I need to learn how to use github so I can submit a pull request to the owner of this repo. |
@donatoaz well i haven't found a different sensor which is applicable to my gas-grill - so will have to stick with the MAX6675 ;) |
I forked the library as Adafruit doesn't update anymore. Just if anyone else needs a ESP8266 compatible library. |
Using |
donatoaz thank you! Your suggestion worked great for me too! Appreciate you sharing ... |
thanks for this isue. i will try max 6675 with nodemcu,, and hav same trouble with "pgmspace and util/delay". have edit max6675.h with `#if defined(ESP8266) //#include <util/delay.h> #include <stdlib.h> and get success compiled, . |
IMHO, a better solution is to write an esp8266-specific util/delay.h and add a pull request to include it in the esp8266 board distribution. |
The same fix needs to be applied for the ESP32 btw... |
fixed |
Hello,
When I want to compile library with NodeMCU V1 board I got error:
MAX6675-library-master/max6675.cpp:9:24: fatal error: util/delay.h: No such file or directory
#include <util/delay.h>
^
compilation terminated.
Please is there any possibility to fix it?
Thanks!
The text was updated successfully, but these errors were encountered: