Encoder

Dependencies:   QEI TextLCD mbed

Fork of Encoder1 by Federico Velasquez V

Files at this revision

API Documentation at this revision

Comitter:
fvelasquezv
Date:
Fri Nov 01 16:11:59 2013 +0000
Child:
1:7b43d1823567
Commit message:
nada

Changed in this revision

QEI.lib Show annotated file Show diff for this revision Revisions of this file
TextLCD.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QEI.lib	Fri Nov 01 16:11:59 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/aberk/code/QEI/#5c2ad81551aa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Fri Nov 01 16:11:59 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/simon/code/TextLCD/#44f34c09bd37
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Nov 01 16:11:59 2013 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+#include "QEI.h"
+#include "TextLCD.h"
+
+TextLCD lcd(PTC10, PTC11, PTC12, PTC13, PTC16, PTC17); // rs, e, d4-d7TextLCD lcd(PTC10, PTC11, PTC12, PTC13, PTC16, PTC17); // rs, e, d4-d7
+QEI wheel(PTE4, PTE3, NC, 624);
+ 
+int main() {
+       
+    while(1){
+        
+        lcd.printf("Pulses is: %i\n", wheel.getPulses());
+        wait(0.11);
+        
+    }
+ 
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Nov 01 16:11:59 2013 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f
\ No newline at end of file