I have used circuit playground expresses every year in class, but this year none of them are working. Specifically we are using makecode.com and they're not being detected when plugged in. I am trying to update the Circuit playground firmata. When I verify the code it tells me WebUBS.h: No such fille or directory. I followed a turtorial that said to updated the definition from 200 to 210 (....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!...) I am not sure if I know what SDK installation directory is...I just found the pathway in the program files, but even I make the change it tells me I am not allowed to save the change.
Does anyone have ideas?
WebUSB.h: no such file
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: WebUSB.h: no such file
I'll check with the programmers.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
@kad just to clarify you are using MakeCode or Code.org? And are these Express or Classic CircuitPlaygrounds?
- kad3285
- Posts: 8
- Joined: Mon Nov 02, 2020 3:17 pm
Re: WebUSB.h: no such file
Throughout the year I will use both makecode and code.org. Normally they have worked interchangeably. My advanced students have started their makecode projects and my beginner students will be soon starting code.org. I have tried both interfaces this year and neither recognize the circuit playgrounds. We are having success with microbits, but none of the ciruit playgrounds are working. All of my circuit playgrounds are expresses.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
ok lets start with makecode since its simpler.
use this guide
https://learn.adafruit.com/makecode/dow ... d-flashing
if you double click the reset button, do you get CPLAYBOOT file?
use this guide
https://learn.adafruit.com/makecode/dow ... d-flashing
if you double click the reset button, do you get CPLAYBOOT file?
- kad3285
- Posts: 8
- Joined: Mon Nov 02, 2020 3:17 pm
Re: WebUSB.h: no such file
No I don't see clayboot. I can find the circuit playground in my devices and printers menu as "unspecified" but I can't load anything to it.
- kad3285
- Posts: 8
- Joined: Mon Nov 02, 2020 3:17 pm
Re: WebUSB.h: no such file
When I plug in it flashes all red, then all green. My red light does pulse...but I don't see the rainbow of lights as shown in the video.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
weird. what computer are you using? have you tried a different USB cable?
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
if you see all green LEDs and a pulsing red LED it means its connected to your computer. look for the CPLAYBOOT disk drive then, make sure you have permission on that computer to have a disk drive. some school computers do not allow it
- kad3285
- Posts: 8
- Joined: Mon Nov 02, 2020 3:17 pm
Re: WebUSB.h: no such file
I don't have a disc drive problem with my hallowing or microbits, so I know I have the right permissions. This only happens with all 5 of my circuit playgrounds. I have tried different cords and usb ports as well. Thoughts?
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
what computer and OS version are you using?
- kad3285
- Posts: 8
- Joined: Mon Nov 02, 2020 3:17 pm
Re: WebUSB.h: no such file
Using a dell laptop. Windows 10, students are using chromebooks. Thank you for troubleshooting this with me!
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
can you try another computer...just because when the leds are green that means the CPX is saying it found the computer, but the computer is not finding the CPX
- kad3285
- Posts: 8
- Joined: Mon Nov 02, 2020 3:17 pm
Re: WebUSB.h: no such file
I tried two other computers. I was able to get one CPX to show up on the other two computer, but my other 4 CPX all turned red and then green on each computer, but did not register "clayboot" on the computers list when plugged in. The one that worked successfully downloaded makecode and showed the lights function according the file.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: WebUSB.h: no such file
im mystified, but we can replace them. email support@adafruit for 4 new CPX's
Please be positive and constructive with your questions and comments.