-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no matching functions for call 'CountUpDownTimer::SetTimer(int, int, int) #32
Comments
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.
- Andrew
…Sent from my iPhone
- Andrew
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 <CountUpDownTimer.h>
#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
The text was updated successfully, but these errors were encountered: