This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pic_controlled_stepper_motor [2009/02/28 06:19] – jonmash | pic_controlled_stepper_motor [2009/03/08 18:22] (current) – jonmash | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== PIC Controlled Stepper motor ====== | ====== PIC Controlled Stepper motor ====== | ||
| - | Code to send data to the PIC: | + | * [[Code to send desired position |
| - | <code cpp> | + | |
| - | void setup() | + | |
| - | { | + | |
| - | | + | |
| - | } | + | |
| - | void loop() | ||
| - | { | ||
| - | | ||
| - | | ||
| - | } | ||
| - | |||
| - | void pulseMicroseconds(int pin, int dur) | ||
| - | { | ||
| - | | ||
| - | | ||
| - | | ||
| - | } | ||
| - | </ | ||