Open ABartholsen opened 3 years ago
Has the library been changed, is that what is going on?
I just recently changed the library and if you have downloaded it in last 4 weeks or so, then so his code is out of date. The SetTimer method now takes 4 arguments (day, hour, minute, second). His code didn’t have days.
Sent from my iPhone
Sent from my iPhone
On Mar 18, 2021, at 10:16 AM, ABartholsen @.***> wrote: Has the library been changed, is that what is going on?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Yes, that seems to do it! Thanks mate :)
Well the program compiles and is downloaded fine now, (my own program and not the example I posted) but somehow the task the program is suppose to execute is not run. It was suppose to run after 10 seconds. Not quite sure why. I am thinking it might be worth trying to run the program with the old library. Is it available somewhere?
I saw that the older versions are found under commits, but cant download the zip. How do i get to download it?
I don’t think they can be downloaded. I didn’t really change anything else so I’m not sure why it doesn’t work. You are welcome to play with the library as I don’t really maintain it anymore. If you figure out what’s wrong, I’ll add those fixes to the library.
Why do i get "no matching functions for call ..." when running my code when using the CountUpDownTimer?
I get it when i try MeisterMax's code as well:
include
include "LiquidCrystal.h"
CountUpDownTimer T(DOWN); LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2); T.SetTimer(0, 2, 45); T.StartTimer();
}
void loop() {
T.Timer();
lcd.setCursor(0, 0); lcd.print(T.ShowSeconds()); lcd.setCursor(0, 1); lcd.print(T.ShowMinutes());
}
I suspect i am doing something wrong with importing the library or something. I am a bit of a noob, so I might be messing something trivial up. Just saying :P