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.