fork

Dependencies:   mbed

Fork of LG by igor Apu

Revision:
214:4c70e452c491
Parent:
211:ac8251b067d2
--- a/QEI.c	Wed Jul 26 13:24:39 2017 +0000
+++ b/QEI.c	Wed Aug 16 09:00:25 2017 +0000
@@ -87,9 +87,19 @@
         Pulse_16PointD -= Buff_1Point[(CountV255-48) & 0xff];									// 
         Buff_16PointD[CountV31] = Pulse_16PointD ;
      
+     
+     
+
+        
+        
+        
+        
+        
+     
+     
         Buff_Restored_sin  [CountV31] = (Buff_16Point[CountV31])*2 - Buff_32Point[CountV31];
     
-        if((Buff_Restored_sin [CountV31]) > 0)	CaunAddPlus += Buff_Restored_sin  [CountV31];  // счетчик положительных импульсов
+        if((Buff_Restored_sin [CountV31]) > 0)	CaunAddPlus += Buff_Restored_sin [CountV31];  // счетчик положительных импульсов
     	else 									CaunAddMin  -= Buff_Restored_sin [CountV31]; //счетчик отрицательных импульсов // расчет амплитуды