Hi,
I've been trying to find information on how to set a GPIO pin which is set to INPUT to also have an internal pullup resistor, and I cannot find reference to it, I can control the pins data director and input or output, but by default it seems to float on input.
I can stick a 10K to 3.3v, but was wondering if anyone knows how to turn on the pullup via BBC Basic in it.
Cheers
AGON Light 2 GPIO Internal Pullup Resistors ?
AGON Light 2 GPIO Internal Pullup Resistors ?
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist
Re: AGON Light 2 GPIO Internal Pullup Resistors ?
According to the EZ80F92 datasheet, there is no option for an internal pullup on GPIO pins.Gelpack wrote: ↑Mon Jan 29, 2024 12:32 pm I've been trying to find information on how to set a GPIO pin which is set to INPUT to also have an internal pullup resistor, and I cannot find reference to it, I can control the pins data director and input or output, but by default it seems to float on input.
So you will need an external resistor.
Dave
Re: AGON Light 2 GPIO Internal Pullup Resistors ?
Hi Dave,
I just made an assumption that it would have it ( My head was living in Espressif ESP32 space I think ), but thank you for coming back on that, next time I will check first.
Cheers
I just made an assumption that it would have it ( My head was living in Espressif ESP32 space I think ), but thank you for coming back on that, next time I will check first.
Cheers
Software Engineer, Acorn BBC/Retro & Electronics Hobbyist