add rgb check and example
This commit is contained in:
@@ -11,6 +11,6 @@ cortex-m-rt.workspace = true
|
||||
defmt.workspace = true
|
||||
defmt-rtt.workspace = true
|
||||
embassy-executor = { workspace = true, features = ["defmt", "executor-thread", "platform-cortex-m"] }
|
||||
embassy-stm32 = { workspace = true, features = ["defmt", "stm32f103c8", "time-driver-tim2"] }
|
||||
embassy-stm32 = { workspace = true, features = ["defmt", "stm32f103c8", "time-driver-tim3"] }
|
||||
embassy-time.workspace = true
|
||||
panic-probe.workspace = true
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
use cortex_m as _;
|
||||
use defmt::info;
|
||||
use defmt_rtt as _;
|
||||
use cortex_m as _;
|
||||
use embassy_executor::Spawner;
|
||||
use embassy_stm32::gpio::{Level, Output, Speed};
|
||||
use embassy_time::Timer;
|
||||
|
||||
Reference in New Issue
Block a user