Arduino Forum
Fastest wait until pin changes from LOW to HIGH
Projects
General Guidance
educa
August 16, 2012, 11:02pm
3
Mea culpa
I was checking the wrong bit
it had to be
while (PIND & 0b00100000 ){
}
show post in topic
Related topics
Topic
Replies
Views
Activity
While loop - works inverted ?
Frequently-Asked Questions
15
5225
May 6, 2021
Need 2nd set of eyes on simple code question
Programming
7
1435
May 5, 2021
What went wrong?
Programming
5
1164
May 5, 2021
function pause until input is low
Programming
5
2086
May 5, 2021
Wait until
General Guidance
5
37784
May 5, 2021