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 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.
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.