Pages: [1]   Go Down
Author Topic: an orphan Reference page?  (Read 1019 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I accidentally came across the page [http://www.arduino.cc/en/Reference/PortManipulation] and I don't see how it links-back to [http://arduino.cc/en/Reference/HomePage].

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...
Logged

Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 524
Posts: 26427
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The Bitwise Operators also discuss port manipulation.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17262
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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.

Lefty

Logged

0
Offline Offline
Shannon Member
****
Karma: 130
Posts: 10448
:(){:|:&};:
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is also useful with multiple interrupt on non standard pin ( for standard pin i mean provided by attach interrupt )
Logged

sei nuovo? non sai da dove partire? leggi qui: http://playground.arduino.cc/Italiano/Newbie

Pages: [1]   Go Up
Jump to: