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

Using the Badger2040 example with the Badger 2040W? #76

Open
shymega opened this issue Jul 24, 2024 · 5 comments
Open

Using the Badger2040 example with the Badger 2040W? #76

shymega opened this issue Jul 24, 2024 · 5 comments

Comments

@shymega
Copy link

shymega commented Jul 24, 2024

Hi,

I'm looking to write firmware for a Badger 2040W, based on this example, but using the Embassy framework.

I was just curious if the example needs adjusting (GPIO, RTC, or other variables) for the 2040W.

Thanks.

@ithinuel
Copy link
Member

Hello, thank you for reaching out.

@Dirbaio I think you might be able to answer this :)

@9names
Copy link
Member

9names commented Jul 26, 2024

Assuming badger2040w has the same pinout as badger2040, this example would be a good starting point.
https://github.com/9names/uc8151-rs/tree/main/examples/async

@shymega
Copy link
Author

shymega commented Sep 4, 2024

So, I've found this example, and I think it's adaptable for the Badger RP2040W.

I've flashed it, and it works with the e-ink display. I could make a PR for an example with the RP2040W scanning WiFi SSID broadcasts.

Just a quick Q - do we have support for wireless connectivity with rp-hal on the RP2040W?

@jannic
Copy link
Member

jannic commented Sep 4, 2024

No, we don't. Wifi/Networking is much easier to support with async support, and the async story of rp-hal is not yet complete. So for the Pico-W we usually suggest embassy.

@shymega
Copy link
Author

shymega commented Sep 4, 2024

I was actually planning to use Embassy (for my Badger, not the example), so that's good to know. For the example, would you prefer I keep it simple, and ignore the wireless functionality?

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

4 participants