- Wed Oct 24, 2018 4:44 pm
#200777
I am using a Pro Micro to record analog voltages on 8 channels. It works fine except for one cosmetic issue. Unterminated inputs float and random values are recorded. I decided to turn on the pull-up resistors to get a value near 5V. Two of my ports sit at or very near 5V but the rest still float. Using a DVM, I confirmed that the pull-ups are not there. Then I changed out the Pro Micro and the same two ports are pulled to near 5V while the rest continue to float. Yet I can apply known voltages to all ports and they are recorded properly.
typical code:
pinMode(Port0, INPUT);
pinMode(Port0, INPUT_PULLUP);
Has anyone else seen this behavior?
Thanks in advance,
Rick
typical code:
pinMode(Port0, INPUT);
pinMode(Port0, INPUT_PULLUP);
Has anyone else seen this behavior?
Thanks in advance,
Rick
You do not have the required permissions to view the files attached to this post.