Show Posts
Pages: [1]
1  Products / Arduino Due / Re: IO Pins status on: November 16, 2012, 04:34:39 pm
Hi Stimmer,

Thanks for your reply.  I got it to work.  My bitwise operator was wrong.  Thanks for your help.

2  Products / Arduino Due / IO Pins status on: November 15, 2012, 04:13:14 pm
Hi everyone,

I am new to this forum.  I got the new Due board a couple days ago.  So far so good.  But I noticed several things which are quite interesting.
1. When I set all the I/O pins as input, digitalRead reports they are all 'HIGH'.  Does that mean all the input pins have their internal pull-up resistors turned on?
2. When I set several I/O pins as output, digitalRead reports on those output pins are all 'HIGH' as well.  Does digitalRead reports the state of the output pins as well?  If not, is there a way I can read the current state of the output pins?

Please let me know.  Thanks in advance.

Pages: [1]