tug handle with slightly more chutzpah
switched to a 300W PC power supply from a 60W power supply assembly now runs off a standard "peripheral" port
This commit is contained in:
parent
0dbfd665f2
commit
f466f20869
1 changed files with 2 additions and 2 deletions
|
@ -65,9 +65,9 @@ fn run_motor(pwm_c: &mut pwm::Config, pwm: &mut Pwm, pulse: u16) {
|
|||
}
|
||||
|
||||
async fn open_door(mut pwm_c: &mut pwm::Config, mut pwm: &mut Pwm<'_>) {
|
||||
run_motor(&mut pwm_c, &mut pwm, 0x13DF); // up
|
||||
run_motor(&mut pwm_c, &mut pwm, 5306); // up
|
||||
Timer::after_millis(3000).await;
|
||||
run_motor(&mut pwm_c, &mut pwm, 0x123C); // down
|
||||
run_motor(&mut pwm_c, &mut pwm, 4668); // down
|
||||
Timer::after_millis(750).await;
|
||||
run_motor(&mut pwm_c, &mut pwm, 4687); // stop
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue