Usually I debug SPI using oscilloscope. Unfortunately now I have not one at home, and can not use one at work becouse of COVID-19.
By the way, OneWire looks to be not so stable at 2.04 as at 1.92. It returns zero or undefined time to time.
© Espruino, powered by microcosm.
Report a problem