PicoMite: serial I/O (from MMB4L)


Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11635
Posted: 03:06pm 05 Jan 2022      

  Quote  Only way to detach the pins from the UART should be a new Setpin command.


Feel free to write it. Only a couple of hundred lines of complex C to support UART/SPI/I2C/PWM/IR and whatever I've forgotten.

Whether rightly or wrongly the PicoMite supports very flexible pin allocation and this will always have positives and negatives. Detaching the pins puts them back in tristate mode so all that is needed is a pullup resistor to avoid the issue you identify. Not everything has to be solved in software
Edited 2022-01-06 01:06 by matherp