Has anyone else found command descriptions not linked on the main Reference page? It can save a LOT of programming for those not intimately familiar with the command names...
It can save a LOT of programming for those not intimately familiar with the command names...
Direct port manipulation can be very useful and can certainly speed up a sketch compared to digitalRead() and digitalWrite() commands. However keep in mind the main trade-off involved, loss of portability of the code between the various AVR processor chips that the Arduino supports. That is the main reason arduino came up with the digitalRead() function, to abstract the pin number assignments. Arduino pin 13 uses a different port name on a 328 chip comparied to a 1280 or 2560 chip.