first iteration

Dependencies:   HIDScope MODSERIAL QEI mbed

Files at this revision

API Documentation at this revision

Comitter:
Arnoud113
Date:
Mon Oct 02 12:53:07 2017 +0000
Commit message:
first iteration;

Changed in this revision

HIDScope.lib Show annotated file Show diff for this revision Revisions of this file
MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
QEI.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/HIDScope.lib	Mon Oct 02 12:53:07 2017 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/users/tomlankhorst/code/HIDScope/#d23c6edecc49
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MODSERIAL.lib	Mon Oct 02 12:53:07 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/Sissors/code/MODSERIAL/#a3b2bc878529
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QEI.lib	Mon Oct 02 12:53:07 2017 +0000
@@ -0,0 +1,1 @@
+http://os.mbed.com/users/aberk/code/QEI/#5c2ad81551aa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Oct 02 12:53:07 2017 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+#include "QEI.h"
+#include "MODSERIAL.h"
+
+DigitalOut gpo(D0);
+DigitalOut led(LED_BLUE);
+MODSERIAL pc(USBTX, USBRX);
+
+
+int main()
+{
+   
+   pc.baud(115200);
+   while(true){
+       int counts;
+       QEI Encoder(D12,D13,NC,64);
+       counts = Encoder.getPulses();
+    pc.printf("\r number of counts: %i\n",counts);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Oct 02 12:53:07 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/675da3299148
\ No newline at end of file