![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Global.c
- Committer:
- igor_v
- Date:
- 2016-02-05
- Revision:
- 30:17c84ed091b3
- Parent:
- 21:bc8c1cec3da6
- Child:
- 40:8a6494f61326
File content as of revision 30:17c84ed091b3:
#include "Global.h" unsigned int VibroReg = 0; //регистр состаяния вибропривода. unsigned long Global_Time=0, Time_UART=0,Time_Sec=0,Time_vibro=0,Time_1kHz=0; unsigned long MaxAmp=0; unsigned char BuffTemp[100]; unsigned char Time[100]; unsigned int Event1Hz = 0; unsigned int Event1K = 0; unsigned int Event100K = 0; unsigned int EventVibro = 0; unsigned int Time1K = 0; unsigned int Time100K = 0; unsigned int Time1Hz = 0; unsigned int Clock1Hz = 0; unsigned int ShiftD = 0; unsigned int ShiftL = 0; void VibroPush(void) { VibroReg |= 0x1; } void VibroPull(void) { VibroReg |= 0x0; } void ButtonLightUP(void) // включение аоджига и подсветки { if ((secPuls>100)&&(pulse_Rq==1)) { pulse_Rq=0; // LightUpCount=3000; // BackLightCount=5000; } }