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:
Andy Killorin 2024-12-13 16:20:27 -05:00
parent 0dbfd665f2
commit f466f20869
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -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
}