the board can't be restarted by shorting TILT_DOUT to 3.3
That's intentional - you need to restart while shorting TILT_DOUT to 3.3v to boot without loading code.
it worked when we used the really simple code
Ok, so there's some issue with your code by the sound of it. I'd suggest:
load()
@Gordon started
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.
That's intentional - you need to restart while shorting TILT_DOUT to 3.3v to boot without loading code.
Ok, so there's some issue with your code by the sound of it. I'd suggest:
load()
on the left-hand side - this will mimic a power on reset. It might be that you see some errors reported.