You're right of course! I think I skipped the transformForEspruino processor call when I was trying to get things to work, and honestly hadn't really understood how the plugin system works until now. Now that the processor call is back my code follows the same pipeline as sendCode, and it seems to be doing just the same (I'm not calling it directly because I want more control over output).
Some more changes:
Better options
Now supports reset, save, setTime, BLE, audio, baudRate and throttle (all with Espruino's defaults)
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.
You're right of course! I think I skipped the
transformForEspruino
processor call when I was trying to get things to work, and honestly hadn't really understood how the plugin system works until now. Now that the processor call is back my code follows the same pipeline assendCode
, and it seems to be doing just the same (I'm not calling it directly because I want more control over output).Some more changes:
reset
,save
,setTime
,BLE
,audio
,baudRate
andthrottle
(all with Espruino's defaults)output
option for showing the output from Espruino when sending codeI also figured out how to minify it even further, and added a tip for how to configure Uglify to be even uglier on the project page.