Skip to content

Instantly share code, notes, and snippets.

View vishnumaiea's full-sized avatar
🏠
At Work

Vishnu Mohanan vishnumaiea

🏠
At Work
View GitHub Profile
@vishnumaiea
vishnumaiea / CD-Stepper-Serial-Drive.ino
Last active April 26, 2017 13:26
Code for controlling a CD stepper motor from the serial monitor with Arduino UNO and L293D driver.
//-----------------------------------------------------------------//
// CD-Stepper-Serial-Drive //
// //
// This is a modified version of the example from the Arduino //
// Stepper library. A CD stepper motor can be controlled via //
// serial commands. You can use either L293D or L298 motor //
// drivers. The schematic an be foound in the Stepper library //
// documentation. This code is compatible with 4-pin and //
// 2-pin configuration. Both works the same way, but you can //