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

MicroPython support? #34

Open
DrewzyMack opened this issue Dec 11, 2023 · 1 comment
Open

MicroPython support? #34

DrewzyMack opened this issue Dec 11, 2023 · 1 comment

Comments

@DrewzyMack
Copy link

Hi, I feel liike this might be a bit of an ask, but I was hoping to get this or a similar package working on a Raspberry Pi Pico, and realised a little late that this isn't really for MicroPython.

Does anyone have any information about how I might get that working, if there's an alternative, or any suggestions at all.

Mainly hoping to get my lego train to be able to respond to basic commands from a pico at the "train station"

@gbit-is
Copy link

gbit-is commented Dec 25, 2023

I started trying to get a duplo train working on pi pico w running micropython, I can connect to it but I can't issue any commands (I have never worked with bluetooth and am not really sure how to do that)

If anyone with a better understanding of bluetooth want's to take a shot at this, then here is code that pairs to the train and connects to the service

https://gist.github.com/gbit-is/a1c16c9dd50aad4835ee281e2a929703

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

2 participants