updated for midpoint default posision.

This commit is contained in:
Jake Goodwin 2025-02-12 15:10:19 -08:00
parent 85228a2cb0
commit 65536ada8f
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ void InitProg(void) {
} else {
// otherwise we write the init values for the start pattern and states.
eeprom_write_byte((uint8_t *)ROM_SP_ADR, START_PATTERN);
eeprom_write_byte((uint8_t *)ROM_SS1_ADR, 0x0);
eeprom_write_byte((uint8_t *)ROM_SS1_ADR, 0x7F);
}
InitTimer0();
@ -121,9 +121,9 @@ void MotorMoveTo(uint8_t target) {
MotorMove(0);
}
// The delay ratio controlls the PWM waveforms.
_delay_ms(50);
_delay_ms(5);
MotorCoast();
_delay_ms(50);
_delay_ms(5);
}
return;
}