2 PORT MANIPULATION
This chapter introduces port manipulation, the process of simultaneously addressing your Arduino’s digital input and output pins to increase the speed of controlling or reading their statuses. Doing so reduces the response time, or the time required for a digital read or write to complete, thus increasing the sketch’s speed of operation. Port manipulation also uses less code than normal digital write/read functions, reducing the size of your sketch, which comes in handy when you hit the upper limits of your Arduino’s memory constraints.
In this chapter, you’ll learn to:
- Use port manipulation to rapidly control digital ...
Get Arduino for Arduinians now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.