mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
Change pin in HIL test
This commit is contained in:
parent
e3891b09dc
commit
0888183666
@ -133,7 +133,7 @@ async fn main(_spawner: Spawner) {
|
||||
{
|
||||
let mut multi = [0u16; 2];
|
||||
let mut channels = [
|
||||
Channel::new_pin(&mut p.PIN_29, Pull::Up),
|
||||
Channel::new_pin(&mut p.PIN_26, Pull::Up),
|
||||
Channel::new_temp_sensor(&mut p.ADC_TEMP_SENSOR),
|
||||
];
|
||||
adc.read_many_multichannel(&mut channels, &mut multi, 1, &mut p.DMA_CH0)
|
||||
|
Loading…
Reference in New Issue
Block a user