Hi, My question is how to config p21 as a gpio?
Hi, My question is how to config p21 as a gpio?
That's not a very clear question is it
you configure P0.21 as a gpio just like you configure any other pin as a gpio.
... and .. is that a question? Have you ensured the UICR has been erased or not? Have you checked the reset pin configuration in the UICR to make sure it's not configured as a reset pin? If it was ever configured as one, it will stay configured as one.
... and .. is that a question? Have you ensured the UICR has been erased or not? Have you checked the reset pin configuration in the UICR to make sure it's not configured as a reset pin? If it was ever configured as one, it will stay configured as one.