Program to test the quadrature encoders on the mbed WSE single board computer.

Dependencies:   mbed mbedWSEsbc

This program uses the mbed WSE project SBC to read from both encoder channels and transmit the program run time and encoder count position to a PC through the virtual com port (USB).

/media/uploads/jebradshaw/mbedencodertest.jpg

/media/uploads/jebradshaw/encodertestscreenshotteraterm.jpg

Files at this revision

API Documentation at this revision

Comitter:
jebradshaw
Date:
Thu Oct 16 17:38:59 2014 +0000
Parent:
0:0e1fba1db6a4
Child:
2:d3b8a201002d
Commit message:
Program to test the encoder channels on the mbed WSE SBC.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbedWSEsbc.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Sep 25 13:54:36 2014 +0000
+++ b/main.cpp	Thu Oct 16 17:38:59 2014 +0000
@@ -7,7 +7,7 @@
 //------------------- MAIN --------------------------------
 int main()
 {
-    long enc1, enc2;
+    long enc1, enc2 = 0;
     
     mbedWSEsbcInit(9600);  //Initialize the mbed WSE Project SBC                                    
         
--- a/mbedWSEsbc.lib	Thu Sep 25 13:54:36 2014 +0000
+++ b/mbedWSEsbc.lib	Thu Oct 16 17:38:59 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/jebradshaw/code/mbedWSEsbc/#eca37472567d
+http://mbed.org/users/jebradshaw/code/mbedWSEsbc/#c8950d434ba8