mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
add example to rp: orchestrate multiple tasks
This commit is contained in:
parent
b2d8d7f009
commit
97125e53cd
@ -23,10 +23,9 @@ use defmt::*;
|
||||
use embassy_executor::Spawner;
|
||||
use embassy_futures::select::{select, Either};
|
||||
use embassy_rp::adc::{Adc, Channel, Config, InterruptHandler};
|
||||
use embassy_rp::bind_interrupts;
|
||||
use embassy_rp::clocks::RoscRng;
|
||||
use embassy_rp::gpio::{Input, Pull};
|
||||
use embassy_rp::peripherals;
|
||||
use embassy_rp::{bind_interrupts, peripherals};
|
||||
use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex;
|
||||
use embassy_sync::{channel, signal};
|
||||
use embassy_time::{Duration, Timer};
|
||||
|
Loading…
Reference in New Issue
Block a user