Re: How to disable internal pull up resistor before user cod
Posted: Wed Mar 15, 2017 2:44 pm
[quote="Barnabybear"]Hi, by default I didn't think pullups were enabled.
[code]
pinMode(13, INPUT); // set as input - no pullup.
pinMode(13, INPUT_PULLUP); // set as input - with pullup.
[/code][/quote]
They are enabled on startup by default on some pins.
I was hoping to find a way to modify the registers and disable the pullups when uploading the firmware.
[code]
pinMode(13, INPUT); // set as input - no pullup.
pinMode(13, INPUT_PULLUP); // set as input - with pullup.
[/code][/quote]
They are enabled on startup by default on some pins.
I was hoping to find a way to modify the registers and disable the pullups when uploading the firmware.