Can I use digital pins 0 and 1 just like any other of the digital pins?
Does it just mean that I wouldn't be able to use the serial port back to my pc to get serial.print commands?
what about analog pins, how do I use them for simple digital pins, or can I?
Quote from: SouthernAtHeart on Feb 22, 2011, 06:40 amCan I use digital pins 0 and 1 just like any other of the digital pins?Yup.QuoteDoes it just mean that I wouldn't be able to use the serial port back to my pc to get serial.print commands?Yup. You may have problems uploading the next Sketch. Holding reset until the upload starts should get you through.Quotewhat about analog pins, how do I use them for simple digital pins, or can I?They are accessed in exactly the same fashion (pinMode, digitalRead, digitalWrite). The pin numbering starts at one more than the last digital pin. For example...http://arduino.cc/en/Main/ArduinoBoardUnoThe last digital pin is "13". Analog pin "A0" is also digital pin "14". Analog pin "A1" is also digital pin "15". Etcetera.
My first project is coming up with 19 pins. Too bad it's not 18,
Once SouthernAtHeart comes back we can see what he's doing with all these pins.In other posts he has asked about driving motors and keypad interfacing.
I can't think of any other sensors to incorporate,
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16