Skip to content

no matching functions for call 'CountUpDownTimer::SetTimer(int, int, int) #32

@ABartholsen

Description

@ABartholsen

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions