Update deps
This commit is contained in:
1829
right/Cargo.lock
generated
1829
right/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -12,9 +12,9 @@ package = "tangentbord1-lib"
|
||||
[dependencies]
|
||||
tgnt = { git = "https://git.nubo.sh/hulthe/tgnt.git", default-features = false }
|
||||
cortex-m-rt = "0.7"
|
||||
embassy-rp = { git = "https://github.com/embassy-rs/embassy.git", features = ["log", "nightly", "unstable-traits", "unstable-pac", "time-driver", "critical-section-impl"] }
|
||||
embassy-rp = { git = "https://github.com/embassy-rs/embassy.git", features = ["log", "unstable-pac", "time-driver", "critical-section-impl"] }
|
||||
embassy-executor = { git = "https://github.com/embassy-rs/embassy.git", features = ["arch-cortex-m", "log", "executor-thread", "nightly", "integrated-timers" ] }
|
||||
embassy-sync = { git = "https://github.com/embassy-rs/embassy.git", features = ["log", "nightly"] }
|
||||
embassy-sync = { git = "https://github.com/embassy-rs/embassy.git", features = ["log"] }
|
||||
embassy-time = { git = "https://github.com/embassy-rs/embassy.git", features = ["log"] }
|
||||
embassy-futures = { git = "https://github.com/embassy-rs/embassy.git", features = ["log"] }
|
||||
log = "0.4.17"
|
||||
|
||||
@ -15,6 +15,7 @@ use log::error;
|
||||
use tangentbord1::{
|
||||
board::Board,
|
||||
event::Half,
|
||||
interrupts::Irqs,
|
||||
keyboard::KeyboardConfig,
|
||||
logger::Logger,
|
||||
rgb::Rgb,
|
||||
@ -47,8 +48,8 @@ async fn main(_spawner: Spawner) {
|
||||
|
||||
let _neopixel_power = Output::new(board.neopixel_power, Level::High);
|
||||
|
||||
let mut neopixel = Ws2812::new(board.PIO0, board.DMA_CH0, board.neopixel);
|
||||
let neopixels_d5 = Ws2812::new(board.PIO1, board.DMA_CH1, board.d5);
|
||||
let mut neopixel = Ws2812::new(board.PIO0, Irqs, board.DMA_CH0, board.neopixel);
|
||||
let neopixels_d5 = Ws2812::new(board.PIO1, Irqs, board.DMA_CH1, board.d5);
|
||||
|
||||
neopixel.write(&[Rgb::new(0xFF, 0x00, 0x00)]).await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user