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: main.c
- Revision:
- 143:2b15794a6cd2
- Parent:
- 142:7a6f68601291
- Child:
- 144:083c667ba848
--- a/main.c Tue Apr 26 13:58:03 2016 +0000 +++ b/main.c Wed Apr 27 06:46:17 2016 +0000 @@ -410,18 +410,13 @@ VibroOut(); //Чтение ADS_SPI } - if( (Gyro.LogHZ == 1)&&(CountV31==0)) // установка ног в регисторе тоже подумать , зачем отделный флаг? наверно + if( (Gyro.LogHZ == 1)&&(Gyro.Event_500Hz==1)) // установка ног в регисторе тоже подумать , зачем отделный флаг? наверно { - - // Gyro.Test_time1++; - /* if(Gyro.Test_time1==4) - {*/ + Gyro.Event_500Hz=0; + sprintf((Time),"%d \r\n",LPC_TIM1->MR0); WriteCon(Time); - // Gyro.Test_time++; - /* Gyro.Test_time1=0; - }*/ - + } //&Gyro.Firmware_Version /////////////////////////////////////////////////////////////////////////////////////////////////////////