When you say 'I save the code, set deep sleep, disconnect USB' do you mean you manually call setDeepSleep(1) after saving? Just uploading the code as you posted it should really be enough to have Deep Sleep enabled.
edit: but yes, I just tried it here and I get the same thing as you (albeit somewhere around 300uA)
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.
When you say 'I save the code, set deep sleep, disconnect USB' do you mean you manually call
setDeepSleep(1)
after saving? Just uploading the code as you posted it should really be enough to have Deep Sleep enabled.edit: but yes, I just tried it here and I get the same thing as you (albeit somewhere around 300uA)