generated from TDD-Templates/cmake_cpputest_template_avr
updated for midpoint default posision.
This commit is contained in:
parent
85228a2cb0
commit
65536ada8f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue