This is an old revision of the document!
====== PIC Controlled Stepper motor ====== Code to send data to the PIC: <code cpp> void setup() { pinMode(3, OUTPUT); // sets the digital pin as output } void loop() { digitalWrite(3, HIGH); delayMicroseconds(2000); digitalWrite(3, LOW); delay(100); } </code>
Back to top