Skip to content

Conversation

@Lauszus
Copy link
Contributor

@Lauszus Lauszus commented Aug 17, 2012

This is a basic change, but one I have wanted for a long time.
It's pretty basic - it let's the user toogle the pin.

Previously you had to do something like:
digitalWrite(pin, !digitalRead(pin));

This commit will allow you to simply do:
digitalWrite(pin, TOGGLE);

@Lauszus
Copy link
Contributor Author

Lauszus commented Jul 3, 2013

Any change this will ever get merged?

@Lauszus Lauszus closed this Oct 15, 2013
@per1234 per1234 added Component: Core Related to the code for the standard Arduino API feature request A request to make an enhancement (not a bug fix) Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) labels Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Core Related to the code for the standard Arduino API feature request A request to make an enhancement (not a bug fix)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants