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());
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());