Ask because i cant add listener to read data incoming via micro usb
function onInit() {
// fire event when receive data via general usb port
USB.on('data', function (data) {
digitalWrite(LED3,1);
print("<USB> "+data);
});
}
Then connect to PC and send data using special tools to COM port, for example:
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.
Good day
Is micro USB same as USB described in docs ?
Ask because i cant add listener to read data incoming via micro usb
Then connect to PC and send data using special tools to COM port, for example:
and receive only
As we see, listener did not fire ...