Dmitry Kovalev
/
LGstaandart
forkd
Fork of LG2 by
Diff: vibro.c
- Revision:
- 216:189b0ea1dc38
- Parent:
- 215:b58b887fd367
- Child:
- 218:b4067cac75c0
diff -r b58b887fd367 -r 189b0ea1dc38 vibro.c --- a/vibro.c Tue Aug 29 06:33:08 2017 +0000 +++ b/vibro.c Mon Sep 04 12:09:55 2017 +0000 @@ -191,9 +191,10 @@ /////////////////////////основного 32 тактного цикла////////////////////////// ////////////////////////////////////////////////////////////////////////////// void cheng(void) -{ +{ static unsigned int counttt=0; switch(CountV31) { case 0: + ReVib();///обновление значений вибро Gyro.VibroAMPRegulF=1; Time_vibro=0; @@ -216,6 +217,17 @@ break; case 31: + /* if(counttt>199) + { + + sprintf((Time)," %d %d %d %d \r\n ", SinMns, SinPls, SinMns+SinPls, faza); + WriteCon(Time); + counttt=0; + SinMns=0; + SinPls=0; + } + counttt++; +*/ break; } }