Skip to content

Commit ce2a2c2

Browse files
Update content/hacking/01.software/PortManipulation/content.md
Co-authored-by: Karl Söderby <35461661+karlsoderby@users.noreply.github.com>
1 parent 56a5c3f commit ce2a2c2

File tree

1 file changed

+1
-1
lines changed
  • content/hacking/01.software/PortManipulation

1 file changed

+1
-1
lines changed

content/hacking/01.software/PortManipulation/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ So you might be saying to yourself, great, why would I ever want to use this stu
8181
* Sometimes you might need to set multiple output pins at exactly the same time. Calling digitalWrite(10,HIGH); followed by digitalWrite(11,HIGH); will cause pin 10 to go HIGH several microseconds before pin 11, which may confuse certain time-sensitive external digital circuits you have hooked up. Alternatively, you could set both pins high at exactly the same moment in time using PORTB |= B1100;
8282
* If you are running low on program memory, you can use these tricks to make your code smaller. It requires a lot fewer bytes of compiled code to simultaneously write a bunch of hardware pins simultaneously via the port registers than it would using a for loop to set each pin separately. In some cases, this might make the difference between your program fitting in flash memory or not!
8383

84-
### See
84+
### Read More
8585

8686
* [Pin Mapping of Atmega 168/328](http://arduino.cc/en/Hacking/Atmega168Hardware)

0 commit comments

Comments
 (0)