This is a program to drive a stepper servomotor from SerialUSB without any other interrution but the serial one.

Dependencies:   mbed

Revision:
0:da3eb35a2787
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Apr 09 03:10:30 2012 +0000
@@ -0,0 +1,21 @@
+// This code is for controlling a bipolar stepper motor
+// using an L293D driver
+ 
+#include "mbed.h"
+#include "config.h"
+
+Serial     pc( USBTX, USBRX );
+
+void Setup_PTO_Timer2();
+void ISR_Serial();
+
+int main() {
+    
+    Setup_PTO_Timer2();
+    pc.attach( &ISR_Serial );
+
+    while(1) {
+   
+    
+     }
+}
\ No newline at end of file