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: MTimer.c
- Revision:
- 104:ab1cb4ff56b2
- Parent:
- 103:e96f08947def
- Child:
- 106:250ddd8629c6
--- a/MTimer.c Wed Mar 30 14:20:03 2016 +0000 +++ b/MTimer.c Thu Mar 31 10:16:56 2016 +0000 @@ -45,8 +45,7 @@ Event1Hz--; Discharg (); BackLight (); - Out_G_photo(Gyro.Gain_A, Gyro.Gain_B); //запись в буфер мастера принятые от функции данные (60,60) и установка флага старта передачи и занятой шины. - G_Photo_Exchange(); + // sprintf(Time,"\r\n"); /* for ( i = 0; i < 32; i++ ) @@ -141,7 +140,7 @@ cheng(); // расчет вибропривода // CuruAngle = CuruAngle + Buff_32Point [CountVf] - 0xffff; - CuruAngle = CuruAngle + Buff_32Point [CountV255] - 0xffff; + CuruAngle = CuruAngle + Buff_32Point [CountV255]; SPI_Exchange(); //Чтение ADS_SPI LPC_TIM1->IR = 1;