USB object is an instance of Serial https://www.espruino.com/Reference#l__global_USB
There is no exemple! to initiate the USB
have you one?
should i use this?
E.on('init', function() { USB.setConsole(); });
Or USB.setConsole(true); ?
USB.setConsole(true);
regards
é.
@Mrbbp 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.
USB object is an instance of Serial
https://www.espruino.com/Reference#l__global_USB
There is no exemple! to initiate the USB
have you one?
should i use this?
Or
USB.setConsole(true);
?regards
é.