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

Lights extension wont open(some HW extensions incompatible with RPi) #12

Closed
QuadDam opened this issue Jun 9, 2021 · 5 comments
Closed
Labels
good first issue Good for newcomers

Comments

@QuadDam
Copy link

QuadDam commented Jun 9, 2021

Hello again, when I use the light extension in Mkaecode to access the neopixels (as my students are downloading to Pygamer) when I download their elf file to pu on our larger arcade machine it gives me an error. I remove the light extension and it disappears. I am running retropi on my mini arcade with a raspi 3B+. Maybe this is not solvable but just thought I would tell you about it.

@Vegz78
Copy link
Owner

Vegz78 commented Jun 10, 2021

Hi @QuadDam,

Might it be related to this?:
microsoft/pxt-arcade#3045 (comment)
#7 (comment)

It seems that some of the extensions are compatible only with certain hardware, whereas the web simulator runs most of them, regardless of the hardware being compatible/connected or not.

I have seen some times that extensions are imported, but not used or important to the game project.
https://support.microbit.org/support/solutions/articles/19000089673-update-remove-an-extension-from-the-makecode-editor

@Vegz78 Vegz78 added the good first issue Good for newcomers label Jun 10, 2021
@QuadDam
Copy link
Author

QuadDam commented Jun 10, 2021

Ah makes sense, would be great to have a block so we could access the gpio pins to play with some addressable lights, maybe in future updates, thanks for your help!

@QuadDam QuadDam closed this as completed Jun 10, 2021
@Vegz78
Copy link
Owner

Vegz78 commented Jun 10, 2021

Only mention of GPIO for Raspberry I have ever seen is here:
https://forum.makecode.com/t/raspberry-pi-gpio-output

Not sure how hard or if it would be possible to use or modify any of the other hardware extensions, or make such an extension for the Raspberry Pi GPIOs yourself.

But would be great!

Maybe you could try to get @mmoskal's or @peli's etc. attention about a possible way in the above thread on the MakeCode Arcade forum?

@Vegz78 Vegz78 changed the title Lights extension wont open Lights extension wont open(Some HW extensions incompatible with RPi) Jun 10, 2021
@QuadDam
Copy link
Author

QuadDam commented Jun 11, 2021

Interesting, I do run the trinket M0 from the pi to control the lights but thats just power, could be controlled through serial I bet, thanks I will take a look!

@Vegz78
Copy link
Owner

Vegz78 commented Jun 11, 2021

Good luck! If you find a solution, it would be great to hear back from you here, or maybe better, on the MakeCode Arcade forum. I believe there are others interested, as well, and it would make MC Arcade on the Raspberry Pi much more interesting for a large pool of devices and users.

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

No branches or pull requests

2 participants