This is an old revision of the document!


PIC Controlled Stepper motor

Code to send data to the PIC

void setup()
{
   pinMode(3, OUTPUT);      // sets the digital pin as output
}

void loop()
{ 
  digitalWrite(3, HIGH);
  delayMicroseconds(2000);
  digitalWrite(3, LOW);
  delay(100);
  
}


void setup()
{
   pinMode(3, OUTPUT);      // sets the digital pin as output
}

void loop()
{ 
  digitalWrite(3, HIGH);
  delayMicroseconds(2000);
  digitalWrite(3, LOW);
  delay(100);
  
}
pic_controlled_stepper_motor.1235789043.txt.gz · Last modified: by jonmash
Back to top
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0