You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
423 B

//TestWitty.ino Test Button, Led Cligno and CliErr
#include "Witty.h"
void setup() {
SetupWitty();
Cligno(3,200);
}
byte cDel=0;
void loop() {
// Led stay on for 2 second, reactivate after <2 seconds with a push
while (cDel++<200) {
LedOn; DelMs(2000/200); // 2
if (PushOn) {cDel=0;} // check every 10ms
}
LedOff;
DelMs(1000);
Cligno(5,50);
CliErr(2,200,1000);
// need a reset now
}