You are reading a single comment by @Unknown and its replies. Click here to read the full conversation.
  • Good day

    Is micro USB same as USB described in docs ?

    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:

    1+1
    

    and receive only

    2
    >
    

    As we see, listener did not fire ...

About

Avatar for Unknown @Unknown started