Pull-up
Posted: Mon Jan 03, 2022 4:48 pm
Hi,
In my ATmega328P i needed to configure the reset input as I/O input. I can do that by setting the RSTDISBL high during programing so PC6 becomes an IO pin. works.
Unfortunately it looks like the pullup is still activated. i probably need to insert an small C-CODE block in my program to switch it off.
in the datasheet i found some example code but for me unclear what to put in the block. The datasheet
i tried something but all gave me an compile error who can show me
In my ATmega328P i needed to configure the reset input as I/O input. I can do that by setting the RSTDISBL high during programing so PC6 becomes an IO pin. works.
Unfortunately it looks like the pullup is still activated. i probably need to insert an small C-CODE block in my program to switch it off.
in the datasheet i found some example code but for me unclear what to put in the block. The datasheet
i tried something but all gave me an compile error who can show me