rp-rs / rp-hal-boards

Board Support Packages for RP2040 based PCBs
199 stars 82 forks source link

How do you control graphics on the badger2040? #28

Closed colossalchicken closed 1 year ago

colossalchicken commented 1 year ago

The only example of using the badger2040 with Rust online seems to be the example on how to control the blinking light. How do I control graphics? Which library do I need to use? Pimoroni has a graphics library for c/c++ but that kind-of defeats the purpose of using Rust.

9names commented 1 year ago

https://docs.rs/uc8151/latest/uc8151/

9names commented 1 year ago

I have some basic code using it at https://github.com/9names/badger2040_testing/blob/main/src/main.rs that probably needs updating

colossalchicken commented 1 year ago

Thanks!