webusb / arduino

WebUSB demos running on Arduino (and compatible) hardware.
580 stars 154 forks source link

WebUSB.h:33:2: error: "WebUSB requires a board that supports USB client device mode." #51

Closed ghost closed 6 years ago

ghost commented 6 years ago

in file included from /Users/t.shivam/Downloads/arduino-gh-pages/demos/console/sketch/sketch.ino:1:0: /Users/t.shivam/Documents/Arduino/libraries/WebUSB/WebUSB.h:33:2: error: #error "WebUSB requires a board that supports USB client device mode."

error "WebUSB requires a board that supports USB client device mode."

^ exit status 1 Error compiling for board Arduino/Genuino Uno.

I am getting this error after loading and uploading th sketch to my arduino. I tried googling but no leads. Any idea why this is happening?

tylercrumpton commented 6 years ago

The Arduino/Genuino Uno does not support WebUSB. You'll want one of these boards instead: