Tool to display Walter Giers' notebooks in either chronological or in random order
Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
12345678910111213141516 |
- class Timer {
- float time;
- int starttime, lasttime;
- Timer(float t) {
- time = t;
- starttime = second();
- lasttime = starttime;
- }
- void update() {
- if (millis() - starttime >= lasttime + time) {
- lasttime = millis();
- //runs once every time "time" (millis as float) passed:
- nextSlide(autoplayMode);
- }
- }
- }
|