GPIO pin dafault settings
Posted: Wed Jun 10, 2020 1:00 pm
Hi,
I'm a newbie to the Micro:bit board, and wondered if anyone might be able to assist with a question about changing the default behaviour of the interface edge connector pins please.
Is it possible to change the default use/behaviour of the edge connector pins eg disabling the i2c mode in order to use the associated pins as GPIO or similarly for pin12 enabling GPIO rather than accessibility?
Can the default direction of the GPIOs be changed as suggested in the datasheet ie inputs to outputs and vice versa.
I am aware that the pins used for the led matrix can have the display disabled, but would rather keep the display enabled and use other interface pins for general purpose in/out.
Many thanks for any advice.
I'm a newbie to the Micro:bit board, and wondered if anyone might be able to assist with a question about changing the default behaviour of the interface edge connector pins please.
Is it possible to change the default use/behaviour of the edge connector pins eg disabling the i2c mode in order to use the associated pins as GPIO or similarly for pin12 enabling GPIO rather than accessibility?
Can the default direction of the GPIOs be changed as suggested in the datasheet ie inputs to outputs and vice versa.
I am aware that the pins used for the led matrix can have the display disabled, but would rather keep the display enabled and use other interface pins for general purpose in/out.
Many thanks for any advice.