not really, because this is odd... may be it saves a line or a few bytes / instructions, but it's more about proprietary than solution.
Adding a new version of soft SPI based on the existing one in the firmware is the only solution I can see. working... or use a attiny## slave with bitbanging...
© Espruino, powered by microcosm.
Report a problem