14 لایک
-
Arduino: 1.6.12 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
In file included from C:\Users\Mahyar\AppData\Local\Temp\arduino_modifie d_sketch_417706\rtc_format.pde:1:0:
C:\Users\Mahyar\Documents\Arduino\libraries\DS1307 RTC/DS1307RTC.h:19:22: error: 'tmElements_t' has not been declared
static bool read(tmElements_t &tm);
^
C:\Users\Mahyar\Documents\Arduino\libraries\DS1307 RTC/DS1307RTC.h:20:23: error: 'tmElements_t' has not been declared
static bool write(tmElements_t &tm);
^
rtc_format:10: error: 'tmElements_t' does not name a type
tmElements_t tm;
^
C:\Users\Mahyar\AppData\Local\Temp\arduino_modifie d_sketch_417706\rtc_format.pde: In function 'void setup()':
rtc_format:20: error: expected primary-expression before ')' token
if (RTC.write(tm)) {
^
C:\Users\Mahyar\AppData\Local\Temp\arduino_modifie d_sketch_417706\rtc_format.pde: In function 'bool getTime(const char*)':
rtc_format:53: error: expected unqualified-id before '.' token
tm.Hour = Hour;
^
rtc_format:54: error: expected unqualified-id before '.' token
tm.Minute = Min;
^
rtc_format:55: error: expected unqualified-id before '.' token
tm.Second = Sec;
^
C:\Users\Mahyar\AppData\Local\Temp\arduino_modifie d_sketch_417706\rtc_format.pde: In function 'bool getDate(const char*)':
rtc_format:70: error: expected unqualified-id before '.' token
tm.Day = Day;
^
rtc_format:71: error: expected unqualified-id before '.' token
tm.Month = monthIndex + 1;
^
rtc_format:72: error: expected unqualified-id before '.' token
tm.Year = CalendarYrToTm(Year);
^
exit status 1
'tmElements_t' does not name a type
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
برای من همش همچین اروری میده چه کاری باید انجام بدم؟
مجوز های ارسال و ویرایش
- شما نمیتوانید موضوع جدیدی ارسال کنید
- شما امکان ارسال پاسخ را ندارید
- شما نمیتوانید فایل پیوست کنید.
- شما نمیتوانید پست های خود را ویرایش کنید
-
مشاهده قوانین انجمن
SEO by vBSEO