Arduino Uno control the RGB LED in Rust • sebsch.dev
sebsch.dev
external-link
Lately I got myself a Arduino Uno compatible device. Since I do not really like to do my stuff in C and to avoid having all the very cool tutorial snippets just for free, I decided to start implement a beginners project in rust. The final implementation can be found here Project goal I am using one of the most simple tutorials and bring it a bit further by implementing a slow color changing effect on a LED using the PWM Pins 6(Red), 5(Green), 3(Blue).
Anders Borch
link
fedilink
21Y

@sebsch this is very cool! Maybe I should dig up some of my old Arduinos from the basement.

I think you should. Tinkering with avr-hal is absolutely fun.

There’s an AVR hal? That’s something I never expected to see. Next they’ll be carcinizing my 8051s.

Rust Programming
!rust@lemmy.ml
    • 0 users online
    • 2 users / day
    • 2 users / week
    • 2 users / month
    • 74 users / 6 months
    • 1 subscriber
    • 258 Posts
    • 707 Comments
    • Modlog