Updating back to 500khz sampling

This commit is contained in:
Ryan Summers 2020-06-11 15:03:08 +02:00
parent 8283c94381
commit 67b7dbcb70
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ const APP: () = {
hal::dma::DMAREQ_ID::TIM2_CH2);
// Configure timer 2 to trigger conversions for the ADC
let mut timer2 = dp.TIM2.timer(50.khz(), &mut clocks);
let mut timer2 = dp.TIM2.timer(500.khz(), &mut clocks);
timer2.configure_channel(hal::timer::Channel::One, 0.25);
timer2.configure_channel(hal::timer::Channel::Two, 0.75);