-
Notifications
You must be signed in to change notification settings - Fork 0
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
Blink example not working on RPI Pico #12
Comments
Hello @siashish If you change this code here to the pin number on your board it should work: https://github.com/hybridgroup/mechanoid-examples/blob/main/blinky/modules/blink/main.go#L10 Hope that helps! |
Hi @deadprogram Despite changing the pin within the same code base for the Raspberry Pi Pico to pin 25, it still does not function as expected. |
Is it a Pico or Pico-W? I remember blinking the LED on Pico-W requires going thru the Wifi device somehow. I think @soypat has Pico-W LED working, but outside the TinyGo code base. |
@siashish if you do in fact have a Pico W you can try the following program to blink the LED and verify the LED is not damaged https://github.com/soypat/cyw43439/blob/main/examples/blinky/blinky.go |
Just tried with a Pico changing to PXL_20240406_120224813.TS.mp4 |
HI @scottfeldman, @soypat But when using mechanoid example blinky for PICO_W , we faced the below issue after running the mecha build command -
|
Hi @deadprogram I now have a PICO (not pico_w) board with me and I was trying out the blinky example again. However, I get the below error during mecha flash command..
Do you have any insights on this ? I am building on a linux machine with tinygo version
|
@Sandesh-verma you can either try updating to the pre-release version of wazero (1.7.4) or else try the mecha command with the wasman runtime ( There is an issue with the latest release of tinygo with the latest release of wazero that is will be resolved on the next release of wazero. Hope that helps! |
Hi @deadprogram we tried mecha command with wasman runtime still we have the same error :-
and for the wazero pre release version (1.7.4) we couldn't find it in the official github page , the latest version listed there is 1.7.3 |
I try to run the blink example on rpi pico with default board lead on pin 25.
but led not blink on pico.
Anyone have any suggestion, whats going wrong there.
Thanks for the support.
The text was updated successfully, but these errors were encountered: