Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using an Arduino Due for a project. I am running out of digital pins, using 22 to 53. Can pins 0 to 13 and SCL1, SDA1 be used as digital inputs?

How about analog pins (A0 to A11) and DACs?

Thanks!

share|improve this question

migrated from electronics.stackexchange.com May 29 '15 at 8:00

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

Bear in mind that this has nothing to do with "Electrical Engineering". This simply is an arduino question. And should be asked on arduino Stack Exchange.

Yes.

They can be used as input/output pins. [Simple 'tutorial'] If that even isn't enough or not working on your type of arduino, you can use I/O expanders or shift registers. Check them out on the internet. [I/O expanders]

share|improve this answer
    
See also the first paragraph of the official docs on Ardunio: arduino.cc/en/Tutorial/DigitalPins – Kolban Jun 30 '15 at 22:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.