Forum
Software/programming
ESP8266 Arduino IDE programming
Humidity and temperature
Humidity and temperature
Less
More
Posts: 1
Thank you received: 0
8 years 10 months ago #2763
by homecheck
Hi,
i'm just trying to get the humidity and temperature project via esp8266
when verifying the code i get the error
temperture.wifi.1.0:44: error: 'wifiConnect' was not declared in this scope
wifiConnect();
^
C:\Arduino\temperture.wifi.1.0\temperture.wifi.1.0.ino: In function 'void loop()':
temperture.wifi.1.0:71: error: 'sendTeperature' was not declared in this scope
sendTeperature(temp);
^
temperture.wifi.1.0:77: error: 'sendHumidity' was not declared in this scope
sendHumidity(hum)
so i'm doing something wrong somewhere but what?????
thanks for all your feedback
Please Log in or Create an account to join the conversation.
Less
More
Posts: 3
Thank you received: 1
8 years 10 months ago #2764
by etiel1965
Hello,
I think,
All function in sketch, ex.
wifiConnect()
{
…
}
Mast be between variable definition and
Setup()
{
...
}
Best regards
Carlos Leite
Please Log in or Create an account to join the conversation.
Less
More
Posts: 38
Thank you received: 1
Less
More
Posts: 1
Thank you received: 0
8 years 9 months ago #2895
by Connolly
Might the problem be that you spell the word "temperature" in a variety of ways?
C:\Arduino\temperture.wifi.1.0\temperture.wifi.1.0.ino: In function 'void loop()':
temperture.wifi.1.0:71: error: 'sendTeperature' was not declared in this scope
sendTeperature(temp);
^
temperture.wifi.1.0:77: error: 'sendHumidity' was not declared in this scope
Please Log in or Create an account to join the conversation.
Less
More
Posts: 38
Thank you received: 1
8 years 9 months ago - 8 years 9 months ago #2898
by seston
This is library problem. May be not right or Arduino IDE not find this. I deleted all double libraries. If i find time at evening, i want to try this.
Last edit: 8 years 9 months ago by
seston .
Please Log in or Create an account to join the conversation.
Forum
Software/programming
ESP8266 Arduino IDE programming
Humidity and temperature
Time to create page: 0.263 seconds