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

How can I use JavaScript blocks and Python blocks together? #4698

Open
Rimririn opened this issue Jul 9, 2024 · 0 comments
Open

How can I use JavaScript blocks and Python blocks together? #4698

Rimririn opened this issue Jul 9, 2024 · 0 comments

Comments

@Rimririn
Copy link

Rimririn commented Jul 9, 2024

This is not an issue; it's a question!

I want to create blocks in Scratch that can upload and run programs on the Raspberry Pi Pico board, so I can control both the Pico and Scratch simultaneously.

Currently, I've successfully managed to control the Raspberry Pi Pico board pins using the OneGPIO extension. However, the OneGPIO extension requires direct control of the pins, making it challenging to perform operations like SPI communication. What methods can I use to achieve this? I have looked for various solutions but have yet to find a suitable one. Any help would be appreciated!

P.S. In BIPES, I succeeded in controlling an LCD via SPI communication using blockly.python blocks for the Pico, but I couldn't effectively utilize the teachable machine in BIPES, leading me to switch to Scratch. However, controlling the Pico board in Scratch seems very challenging.

Operating System and Browser

mac , chrome,
scratch - https://mrcomputer1.github.io/scratch-modding/tutorial/getting-started/prerequisites
oneGPIO extention - https://mryslab.github.io/s3-extend/
bipes - https://bipes.net.br/wp/

e.g. Mac OS 10.11.6 Safari 10.0

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

1 participant