![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: QEI.c
- Revision:
- 190:289514f730ee
- Parent:
- 189:8a16378724c4
- Child:
- 191:40028201ddad
diff -r 8a16378724c4 -r 289514f730ee QEI.c --- a/QEI.c Mon Aug 22 10:39:08 2016 +0000 +++ b/QEI.c Tue Aug 23 14:03:16 2016 +0000 @@ -19,9 +19,9 @@ int unsigned Cur_QEI, Last_QEI; //текушее и предыдущее,(единичное) значение энкодера -int Buff_1Point [256]; // этот на 256 +int Buff_1Point [256]; int Buff_32Point [32]; -int Buff_64Point [32]; +//int Buff_64Point [32]; int Buff_16Point [32]; int Buff_16PointD [32]; int Buff_8Point [32]; @@ -54,7 +54,7 @@ Buff_32Point[CountV31] = (Pulse_32Point ); /* Pulse_64Point += Buff_1Point[CountV255]; - Pulse_64Point -= Buff_1Point[(CountV255-64) & 0xff]; // заполнение буфера накопленых приращений за 32 тактов + Pulse_64Point -= Buff_1Point[(CountV255-64) & 0xff]; // заполнение буфера накопленых приращений за два 32 тактов Gyro.Cnt_Dif = (Pulse_64Point); Buff_64Point[CountV31] = (Pulse_64Point ); */