Help: ESP 8266 Touch Screen Thermostat

7 years 3 months ago #3655 by fahadraza007
Hello,
For past two weeks i am trying tocompile code and getting several errors. I also tried code on 1.0.6 version but still getting errors. Right now i am using libraries provided in github iot folder. Thanks

i am getting following errors on 1.0.6v

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
In file included from sketch_jan16a.ino:16:
C:\Users\RAZA\Documents\Arduino\libraries\DS1302RTC/DS1302RTC.h:95: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\DS1302RTC/DS1302RTC.h:96: error: 'time_t' has not been declared
C:\Users\RAZA\Documents\Arduino\libraries\DS1302RTC/DS1302RTC.h:97: error: 'tmElements_t' has not been declared
C:\Users\RAZA\Documents\Arduino\libraries\DS1302RTC/DS1302RTC.h:98: error: 'tmElements_t' has not been declared
In file included from sketch_jan16a.ino:18:
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:43: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:44: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:45: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:46: error: 'time_t' has not been declared
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:47: error: 'time_t' has not been declared
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:53: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:56: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:57: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:58: error: 'time_t' does not name a type
C:\Users\RAZA\Documents\Arduino\libraries\Timezone/Timezone.h:59: error: 'time_t' does not name a type
sketch_jan16a:55: error: 'time_t' does not name a type
sketch_jan16a.ino: In function 'void setup()':
sketch_jan16a:286: error: 'class DS1302RTC' has no member named 'get'
sketch_jan16a:286: error: 'setSyncProvider' was not declared in this scope
sketch_jan16a.ino: At global scope:
sketch_jan16a:930: error: 'time_t' does not name a type
sketch_jan16a.ino: In function 'void UpdateHeaterStatus()':
sketch_jan16a:958: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:958: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void UpdateSetTemp()':
sketch_jan16a:987: error: 'time_t' was not declared in this scope
sketch_jan16a:987: error: expected `;' before 't'
sketch_jan16a:993: error: 't' was not declared in this scope
sketch_jan16a:993: error: 'weekday' was not declared in this scope
sketch_jan16a:1011: error: 'hour' was not declared in this scope
sketch_jan16a:1011: error: 'minute' was not declared in this scope
sketch_jan16a:1019: error: 'hour' was not declared in this scope
sketch_jan16a:1019: error: 'minute' was not declared in this scope
sketch_jan16a.ino: In function 'void DrawTemp1(boolean)':
sketch_jan16a:1102: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1102: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawTemp2(boolean)':
sketch_jan16a:1126: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1126: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawPressure(boolean)':
sketch_jan16a:1149: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1149: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawForecast(boolean)':
sketch_jan16a:1170: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1170: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawModeButton(int, int, boolean)':
sketch_jan16a:1198: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1198: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawSettingsButton(int, int)':
sketch_jan16a:1244: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1244: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawHeaterStatus(int, int)':
sketch_jan16a:1254: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1254: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawCurrentTemp(int, int, float, float)':
sketch_jan16a:1266: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1266: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a:1283: error: 'ArialNumFontPlus' was not declared in this scope
sketch_jan16a:1293: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1293: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawTime(int, int, boolean)':
sketch_jan16a:1304: error: 'time_t' does not name a type
sketch_jan16a:1307: error: 'time_t' was not declared in this scope
sketch_jan16a:1307: error: expected `;' before 't'
sketch_jan16a:1312: error: 't' was not declared in this scope
sketch_jan16a:1312: error: 'minute' was not declared in this scope
sketch_jan16a:1312: error: 'tLast' was not declared in this scope
sketch_jan16a:1323: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1323: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a:1334: error: 't' was not declared in this scope
sketch_jan16a:1334: error: 'minute' was not declared in this scope
sketch_jan16a:1334: error: 'tLast' was not declared in this scope
sketch_jan16a:1341: error: 'hour' was not declared in this scope
sketch_jan16a:1349: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1349: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a:1352: error: 'weekday' was not declared in this scope
sketch_jan16a:1352: error: 'dayShortStr' was not declared in this scope
sketch_jan16a:1352: error: 'day' was not declared in this scope
sketch_jan16a:1352: error: 'month' was not declared in this scope
sketch_jan16a:1352: error: 'year' was not declared in this scope
sketch_jan16a.ino: In function 'void DrawScreenTemperature()':
sketch_jan16a:1416: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1416: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawTeemperatureTemp()':
sketch_jan16a:1472: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1472: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawScreenTemperatureTemp(int, int, float)':
sketch_jan16a:1487: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1487: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawScreenSettings()':
sketch_jan16a:1631: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1631: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void drawScreenSchedule(int)':
sketch_jan16a:1747: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1747: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void drawScreenSchedule()':
sketch_jan16a:1799: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:1799: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void DrawScreenDatetime()':
sketch_jan16a:2046: error: 'time_t' was not declared in this scope
sketch_jan16a:2046: error: expected `;' before 't'
sketch_jan16a:2050: error: 't' was not declared in this scope
sketch_jan16a:2050: error: 'hour' was not declared in this scope
sketch_jan16a:2051: error: 'minute' was not declared in this scope
sketch_jan16a:2053: error: 'month' was not declared in this scope
sketch_jan16a:2054: error: 'day' was not declared in this scope
sketch_jan16a:2055: error: 'year' was not declared in this scope
sketch_jan16a:2063: error: invalid conversion from 'const uint8_t*' to 'uint8_t*'
sketch_jan16a:2063: error: initializing argument 1 of 'void UTFT::setFont(uint8_t*)'
sketch_jan16a.ino: In function 'void SetTime()':
sketch_jan16a:2144: error: 'time_t' was not declared in this scope
sketch_jan16a:2144: error: expected `;' before 't1'
sketch_jan16a:2145: error: expected `;' before 'utc'
sketch_jan16a:2146: error: 'tmElements_t' was not declared in this scope
sketch_jan16a:2146: error: expected `;' before 'tm'
sketch_jan16a:2148: error: 'tm' was not declared in this scope
sketch_jan16a:2148: error: 'CalendarYrToTm' was not declared in this scope
sketch_jan16a:2155: error: 't1' was not declared in this scope
sketch_jan16a:2155: error: 'makeTime' was not declared in this scope
sketch_jan16a:2157: error: 'utc' was not declared in this scope
sketch_jan16a:2157: error: 'class Timezone' has no member named 'toUTC'
sketch_jan16a:2162: error: 'setTime' was not declared in this scope
sketch_jan16a:2165: error: expected `;' before 't'
sketch_jan16a:2167: error: 't' was not declared in this scope
sketch_jan16a:2167: error: 'hour' was not declared in this scope
sketch_jan16a:2168: error: 'minute' was not declared in this scope
sketch_jan16a:2170: error: 'month' was not declared in this scope
sketch_jan16a:2171: error: 'day' was not declared in this scope
sketch_jan16a:2172: error: 'year' was not declared in this scope

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

Time to create page: 0.205 seconds

Forum latest

  • No posts to display.