atsamd-rs / atsamd

Target atsamd microcontrollers using Rust
https://matrix.to/#/#atsamd-rs:matrix.org
Apache License 2.0
541 stars 197 forks source link

Added a PWM example for the Matrix Portal M4 #721

Closed salsasteve closed 4 months ago

salsasteve commented 4 months ago

Summary

Added PWM example using the Timer Counter Controller 1 on channel 2(TCC1[2]) on the red onboard led.

salsasteve commented 4 months ago

I'm honestly confused on why this is failing. Is there something beyond cargo fmt that I have run?

salsasteve commented 4 months ago

I'm honestly confused on why this is failing. Is there something beyond cargo fmt that I have run?

Looked in the cicd and saw the nightly version of rustfmt was being used, now everything is formatted properly