Created
January 5, 2017 22:22
-
-
Save yurapyon/4b3f1765385c2eab6e5f6cfe7795dd03 to your computer and use it in GitHub Desktop.
digital write test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// these are equivalent | |
digitalWriteFast(13, HIGH); | |
delay(1); | |
digitalWriteFast(13, LOW); | |
delay(100); | |
// | |
CORE_PIN13_PORTREG |= CORE_PIN13_BITMASK; | |
delay(1); | |
CORE_PIN13_PORTREG &= ~CORE_PIN13_BITMASK; | |
delay(100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment