Arduino Forum
suggestion to add TOGGLE in digitalWrite()
Forum 2005-2010 (read only)
Hardware
Bugs & Suggestions
system
August 19, 2010, 1:10pm
5
There seems to be a problem with the forum's software
The code should read
PIND ^= _BV(PIND2)
show post in topic
Related Topics
Topic
Replies
Views
Activity
How about adding digitalToggle(pin)?
Suggestions for the Arduino Project
12
6206
May 6, 2021
Just discovered something very useful about the AVR....
Programming Questions
29
5330
May 5, 2021
digitalToggle not working?
Programming Questions
7
5300
May 5, 2021
Using digitalWrite(x, !digitalRead(x)) to toggle a pin in OUTPUT mode
Programming Questions
135
2754
September 21, 2023
Not understanding toggle code
Programming Questions
33
10555
May 5, 2021