Project

General

Profile

Revision 53349043

ID53349043c921e6f3479bf12000c67830839e8463
Parent bc943bf6
Child 32c4f513

Added by Thomas Mullins over 3 years ago

Disabled stepper movement and cleaned up code a bit

View differences:

scout_avr/src/stepper.cpp
43 43

  
44 44
void step_enable()
45 45
{
46
  return; // stepper is temporarily disabled for demo
46 47
  PORTF &= ~_BV(S_EN);
47 48
}
48 49

  
......
82 83

  
83 84
void step_do_step()
84 85
{
86
  return; // stepper is temporarily disabled for demo
85 87
  if(step.dir==0) return; //do not step if not enabled
86 88
  PORTD |= (1<<S_STEP); //step once 
87 89
  _delay_us(1); //conform with step timing

Also available in: Unified diff