Quantcast
Channel: Wicked Device Support - Latest posts
Viewing all articles
Browse latest Browse all 651

Angular Clock dead after working fine for 1 year: No lights. How to debug?

$
0
0

Thanks. Progress. I had the wrong Arduino set. I downloaded the AngularClock code and the libraries, and loaded them into the IDE. The result doesn't compile. I'll include some of the errors below.

Just to see whether I was getting anywhere, I loaded a simple program into the clock (Blink). The IDE says it loaded, but there's no blinking LED. Perhaps it's not the right pin. The good news is that I seem to be able to load programs into the clock.

Here is some of the error message result of trying to compile the clock code:


AngularClock:60: error: 'tmElements_t' does not name a type

tmElements_t tm;

^

C:\Users\Dick\Desktop\AngularClock-master\AngularClock\AngularClock.ino: In function 'void show_time_tm(char*)':

AngularClock:73: error: expected primary-expression before '.' token

Serial.print(tm.Hour, DEC);

              ^

AngularClock:75: error: expected primary-expression before '.' token

Serial.print(tm.Minute, DEC);

              ^

AngularClock:77: error: expected primary-expression before '.' token

Serial.print(tm.Second, DEC);

              ^

C:\Users\Dick\Desktop\AngularClock-master\AngularClock\AngularClock.ino: In function 'void setup()':

AngularClock:204: error: expected primary-expression before '.' token

rtc.getDateTime(&tm.Second,&tm.Minute,&tm.Hour,&tm.Wday,&tm.Day,&tm.Month,&tm.Year);


Am I missing a library or some other piece? I downloaded the three libraries as ZIP files, and installed them. I also downloaded the clock stuff as a ZIP, extracted the .ino file, and opened that. (I also tried it opening the .ZIP, and got the same result. That seems to be the only code in the set of files.)

I'm still learning the Arduino IDE. I'd appreciate your further help in getting the clock code reloaded.

Thanks again!

Dick


Viewing all articles
Browse latest Browse all 651

Trending Articles