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: host/Source/App/Global.h
- Revision:
- 23:12e6183f04d4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/host/Source/App/Global.h Wed Feb 03 10:44:42 2016 +0300 @@ -0,0 +1,17 @@ +#define BackLightOFF LPC_GPIO2->FIOSET =(1<<12); +#define BackLightON LPC_GPIO2->FIOCLR =(1<<12); +#define LightUpON LPC_GPIO0->FIOSET = (1<<4); +#define LightUpOFF LPC_GPIO0->FIOCLR = (1<<4); + +#define TakeByte & 0xFF +#define deltaDAC 11400.857 //íîëü ÖÀÏà +//#define K_DAC 0.843 +extern float DACF, K_DAC; +extern unsigned int VibroReg; +extern void VibroPush(void); +extern void VibroPull(void); +extern void ButtonLightUP(void); +extern unsigned long Global_Time, Time_UART,Time_Sec,Time_vibro,Time_1kHz; +extern unsigned long MaxAmp; +extern unsigned int LightUpCount,BackLightCount,secPuls; +extern unsigned char BuffTemp[];
