diff --git a/src/main.c b/src/main.c index bdacddf..845cc94 100644 --- a/src/main.c +++ b/src/main.c @@ -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; }