Humidity and temperature

8 years 3 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.

8 years 3 months ago #2764 by etiel1965
Replied by etiel1965 on topic Humidity and temperature
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.

8 years 2 months ago #2883 by seston
Replied by seston on topic Humidity and temperature
I have same problem. But wificonnect() is in right place.
pastebin.com/kvpp57th

Please Log in or Create an account to join the conversation.

8 years 2 months ago #2895 by Connolly
Replied by Connolly on topic Humidity and temperature
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.

8 years 2 months ago - 8 years 2 months ago #2898 by seston
Replied by seston on topic Humidity and temperature
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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.229 seconds

Forum latest

  • No posts to display.