Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LGstaandart by
Diff: vibro.c
- Revision:
- 216:189b0ea1dc38
- Parent:
- 215:b58b887fd367
- Child:
- 218:b4067cac75c0
--- 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;
}
}
