![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
n
Fork of LG by
Global.c@13:e2a1d18677b8, 2016-02-02 (annotated)
- Committer:
- igor_v
- Date:
- Tue Feb 02 15:06:59 2016 +0000
- Revision:
- 13:e2a1d18677b8
- Parent:
- 0:8ad47e2b6f00
- Child:
- 15:f5191a1c3805
1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
igor_v | 0:8ad47e2b6f00 | 1 | #include "Global.h" |
igor_v | 0:8ad47e2b6f00 | 2 | |
igor_v | 0:8ad47e2b6f00 | 3 | |
igor_v | 0:8ad47e2b6f00 | 4 | |
igor_v | 0:8ad47e2b6f00 | 5 | unsigned int VibroReg = 0; //������� ��������� ������������. |
igor_v | 0:8ad47e2b6f00 | 6 | unsigned long Global_Time=0, Time_UART=0,Time_Sec=0,Time_vibro=0,Time_1kHz=0; |
igor_v | 0:8ad47e2b6f00 | 7 | unsigned long MaxAmp=0; |
igor_v | 0:8ad47e2b6f00 | 8 | unsigned char BuffTemp[100]; |
igor_v | 13:e2a1d18677b8 | 9 | unsigned char Time[100]; |
igor_v | 13:e2a1d18677b8 | 10 | |
igor_v | 0:8ad47e2b6f00 | 11 | void VibroPush(void) |
igor_v | 0:8ad47e2b6f00 | 12 | { |
igor_v | 0:8ad47e2b6f00 | 13 | VibroReg |= 0x1; |
igor_v | 0:8ad47e2b6f00 | 14 | } |
igor_v | 0:8ad47e2b6f00 | 15 | void VibroPull(void) |
igor_v | 0:8ad47e2b6f00 | 16 | { |
igor_v | 0:8ad47e2b6f00 | 17 | VibroReg |= 0x0; |
igor_v | 0:8ad47e2b6f00 | 18 | } |
igor_v | 0:8ad47e2b6f00 | 19 | void ButtonLightUP(void) |
igor_v | 0:8ad47e2b6f00 | 20 | { |
igor_v | 0:8ad47e2b6f00 | 21 | if ((secPuls>100)&&(pulse_Rq==1)) |
igor_v | 0:8ad47e2b6f00 | 22 | { |
igor_v | 0:8ad47e2b6f00 | 23 | pulse_Rq=0; |
igor_v | 0:8ad47e2b6f00 | 24 | LightUpCount=3000; |
igor_v | 0:8ad47e2b6f00 | 25 | BackLightCount=5000; |
igor_v | 0:8ad47e2b6f00 | 26 | } |
igor_v | 0:8ad47e2b6f00 | 27 | } |
igor_v | 0:8ad47e2b6f00 | 28 | |
igor_v | 0:8ad47e2b6f00 | 29 | |
igor_v | 0:8ad47e2b6f00 | 30 | |
igor_v | 0:8ad47e2b6f00 | 31 | |
igor_v | 0:8ad47e2b6f00 | 32 |