Yes, you could probably do something like that - but how about dynamically swapping SPI/I2C to some of the other pins the device can output, or just using software SPI/I2C?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Yes, you could probably do something like that - but how about dynamically swapping SPI/I2C to some of the other pins the device can output, or just using software SPI/I2C?
Software SPI particularly is actually quite fast.