RandallR:
Try using:
pinMode(n, INPUT_PULLUP);
where n is your pin number.
Its counter-productive to suggest something that cannot work for the current major release.
RandallR:
Try using:
pinMode(n, INPUT_PULLUP);
where n is your pin number.
Its counter-productive to suggest something that cannot work for the current major release.