-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add support for setStatusLight in pico-w #404
Comments
The onboard LED does not seem to work on pico/pico-w |
I'm trying to use setStatusLight on a regular Pico and I get a error reading Here is what the code I'm running in import { setStatusLight } from "@devicescript/runtime";
console.log(":)");
await setStatusLight(1); |
Is this a fresh install? Could you try to flash the firmware again. We just did a release with sockets support.
…________________________________
From: Luke Harding ***@***.***>
Sent: Monday, June 5, 2023 6:48:52 PM
To: microsoft/devicescript ***@***.***>
Cc: Peli de Halleux ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/devicescript] Add support for setStatusLight in pico-w (Issue #404)
I'm trying to use setStatusLight on a regular Pico and I get a error reading JDUSB Error: crc err
Here is what the code I'm running in main.ts:
import { setStatusLight } from ***@***.***/runtime";
console.log(":)");
await setStatusLight(1);
—
Reply to this email directly, view it on GitHub<#404 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AA73QKLM7G6OS625YI5IQV3XJ2EAJANCNFSM6AAAAAAYPAB3SE>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
@pelikhan Yes, I just started messing around with devicescript today. Re-Flashing doesn't seem to have an effect. |
we might have been in the middle of upgrading the firware. could you try to upgrade the vscode extension and create a new project for the pico? |
@mmoskal it seems that setStatusLight is not working on the pico itself. |
I met the same problem. the firmware and the vscode extension are the latest. Raspberry Pi Pico W version: v2.10.900 |
setStatusLight needs to talk to talk to the wireless chip to control the onboatd LED on the pico-w.
The text was updated successfully, but these errors were encountered: