Pins on Wave Shield

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
BillNguyenUS
 
Posts: 4
Joined: Sun Apr 06, 2014 12:04 pm

Pins on Wave Shield

Post by BillNguyenUS »

Dear Friends,

I read your notes "That means pins 6, 7, 8, 9 and the 6 analog in pins (also known as digital i/o pins 14-20) are available."

I am confused as 6 analog pins (0-5) which are know as 14-20 digital pins (7 pins), please let me know this as I am new to Arduino.

Thanks,

Tri

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Pins on Wave Shield

Post by adafruit_support_bill »

[topic moved to "Arduino Shields"]
Analog pins may also be used as digital pins. When using as digital pins, they are numbered 14 - 20.

For example:

Code: Select all

x = digitalRead(14);  // read the digital state of analog pin 0

BillNguyenUS
 
Posts: 4
Joined: Sun Apr 06, 2014 12:04 pm

Re: Pins on Wave Shield

Post by BillNguyenUS »

Dear Friends,

There are 6 analog pins (0 to 5), so there would be 6 digital pins 14 to 19. Why are there 7 digital pins (14 to 20)?

Thanks,

Tri

User avatar
adafruit_support_bill
 
Posts: 88087
Joined: Sat Feb 07, 2009 10:11 am

Re: Pins on Wave Shield

Post by adafruit_support_bill »

You are correct. It is 14 to 19..

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”