Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Started mentions hardware/arduino/avr/cores/arduino/USBCore.h when there is no such file on Github #90

Open
artisticfox8 opened this issue Oct 9, 2021 · 2 comments

Comments

@artisticfox8
Copy link

Hello, I wanted to try out the library, so I downloaded the files as ZIP. I then started reading README and found:

The WebUSB library provides all the extra low-level USB code necessary for WebUSB support except for one thing: Your device must be upgraded from USB 2.0 to USB 2.1. To do this go into the SDK installation directory and open hardware/arduino/avr/cores/arduino/USBCore.h. Then find the line #define USB_VERSION 0x200 and change 0x200 to 0x210. That's it!

However, there is no such file. When I go to the folder, I only have boads.txt and platform.txt there. I am using Linux by the way, is the step two from Getting started necessary?

@jpliew
Copy link
Contributor

jpliew commented Oct 10, 2021

Hi @artisticfox8 , I think the wording might have confused you.

To do this go into the SDK installation directory and open hardware/arduino/avr/cores/arduino/USBCore.h

will be easier to be read as

To do this go into the ARDUINO installation directory and open hardware/arduino/avr/cores/arduino/USBCore.h

Depending on where you install the Arduino IDE, you will have to find it from your computer.

Hope this helps.

@artisticfox8
Copy link
Author

Hi @artisticfox8 , I think the wording might have confused you.

To do this go into the SDK installation directory and open hardware/arduino/avr/cores/arduino/USBCore.h

will be easier to be read as

To do this go into the ARDUINO installation directory and open hardware/arduino/avr/cores/arduino/USBCore.h

Depending on where you install the Arduino IDE, you will have to find it from your computer.

Hope this helps.

Thank you! Can you edit the page so it is more clear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants