int pButton = 0;
buttonTime = millis(); if (buttonTime - lastButtonTime > 250) //
if (millis() - lastButtonTime > 250) //
int tiltSwitch = 0;
*The tiltSwitch is connected to pin 2 on the UNO, which is one of the pins able to use the interrupt command.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16