Change pin in HIL test

This commit is contained in:
kalkyl 2024-06-22 23:02:38 +02:00
parent e3891b09dc
commit 0888183666

View File

@ -133,7 +133,7 @@ async fn main(_spawner: Spawner) {
{ {
let mut multi = [0u16; 2]; let mut multi = [0u16; 2];
let mut channels = [ 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), Channel::new_temp_sensor(&mut p.ADC_TEMP_SENSOR),
]; ];
adc.read_many_multichannel(&mut channels, &mut multi, 1, &mut p.DMA_CH0) adc.read_many_multichannel(&mut channels, &mut multi, 1, &mut p.DMA_CH0)