How to send data to USB device in node.js using libusb

前端 未结 3 1571
遥遥无期
遥遥无期 2020-12-16 21:52

I have try to get data from device (USB thermometer), following this documentation, but I have not any result.

For getting themperature data from device, I should sen

3条回答
  •  感动是毒
    2020-12-16 22:45

    Use sudo before running your command.

    Wrong:

    node index.js
    

    Right:

    sudo node inex.js
    

提交回复
热议问题