I set D0-D7 as OUTPUT. Then I tried the following.
PORTD = B11111111
It sets all of the D0-D7 EXCEPT D5. D5 remained low.
digitalWrite(5,HIGH) works just fine though.
DID I GET A DUD?
Is there a firmware prob?
Alan
Moderators: adafruit_support_bill, adafruit
The other digital pins are probably not connected where you expect them, either. See the schematic. Arduinos in general are not set up to make port IO "easy."
Users browsing this forum: adafruit_support_mike, ArekKindAcere and 8 guests