Sunday, October 24, 2010

want Arduino to wait for a special input ?

x=0
while (x==0) {
x=digitalRead(some pin)
}

No comments:

Post a Comment