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 LG by
Diff: Global.c
- Revision:
- 112:4a96133a1311
- Parent:
- 106:250ddd8629c6
- Child:
- 124:9ae09249f842
--- a/Global.c Mon Apr 04 03:21:25 2016 +0000
+++ b/Global.c Mon Apr 04 11:09:56 2016 +0000
@@ -4,7 +4,7 @@
unsigned int VibroReg = 0; //регистр состаяния вибропривода.
unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz;
-int MaxAmp=0;
+
unsigned char BuffTemp[100];
unsigned char Time[500];
unsigned int Event1Hz;
@@ -86,7 +86,7 @@
/////////////обнуление переменых для/////////////////
//////////////////переменных АЦП/////////////////////
/////////////////////////////////////////////////////
- Temp_AMP=0;
+ // Temp_AMP=0;
Temp_AMP64P=0;
Temp_ADC_2=0;
Temp_ADC_3=0;
@@ -157,6 +157,8 @@
/////////////обнуление переменых для/////////////////
///////////////переменных энкодера///////////////////
/////////////////////////////////////////////////////
+ Gyro.CaunPlus =0;
+ Gyro.CaunMin =0;
Cur_QEI=0;
Last_QEI=0;
/////////////////////////////////////////////////////
