Interface to a standard tarco sensor. Measure the periode and the cal the speed

Revision:
6:2ad5029f7b1a
Parent:
5:451dd1189b0f
Child:
7:752b8065ce2d
--- a/Tarco.h	Tue Nov 19 12:44:26 2013 +0000
+++ b/Tarco.h	Wed Nov 20 13:29:29 2013 +0000
@@ -17,6 +17,7 @@
     int pulsvariation, lastpuls, count;
     char tarcomode;
     float lastfrekvens;
+    int lastperiode;
 public:
     // ********************************************************************************
     // Constructor