Skip to content

Toastmasters Timer Error #2

@TrickyRick

Description

@TrickyRick

I am unable to compile ToastMaster.ino. It fails with an error 'class StopWatch' has no member named 'ms'.

ToastMasterTimer2:134:27: error: 'MILLIS' cannot be used as a function while(stopwatch.MILLIS() < greenMillis) {
ToastMasterTimer2:138:67: error: 'MILLIS' cannot be used as a functionint seconds = numberOfSeconds((unsigned long) stopwatch.MILLIS());

...ToastMasterTimer2.ino:37:35: note: in definition of macro 'numberOfSeconds' #define numberOfSeconds(time) ((time / 1000) % 60)

ToastMasterTimer2:139:68: error: 'MILLIS' cannot be used as a function int minutes = numberOfMinutes((unsigned long) stopwatch.MILLIS());

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