![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LGstaandart by
Diff: MTimer.c
- Revision:
- 227:2774b56bfab0
- Parent:
- 226:4a4d5bd5fcd7
- Child:
- 228:a8195e1b1123
--- a/MTimer.c Tue Dec 26 05:14:09 2017 +0000 +++ b/MTimer.c Fri Jan 05 08:14:38 2018 +0000 @@ -61,10 +61,7 @@ if (Event1Hz) { - - /* sprintf((Time),"%d \r\n",Gyro.EXT_Latch); - WriteCon(Time);*/ - + if(Gyro.RgConA&0x4) JumpTimer=0; else @@ -81,20 +78,14 @@ } - /*if(Gyro.ShowMod2) - { - sprintf((Time),"%d %d %d\r\n",Spi.DAC_B,AMPSUM_DESP,Spi.DAC_A); - WriteCon(Time); - Spi.DAC_B+=200; - }*/ Discharg(); BackLight(); Gyro.Rate1_Event = 1; Event1Hz--; Time1Hz++; - // sprintf((Time),"%d \r\n",Gyro.ModeOut ); - // WriteCon(Time); + sprintf((Time),"%d \r\n",GyroP.Str.GLD_Serial ); + WriteCon(Time); } } @@ -132,8 +123,9 @@ { if(Gyro.Debag2) { - sprintf((Time),"%d %d \r\n", (0xffff-Spi.DAC_A)-30000, ((Spi.DAC_B-0x7fff)&0xffff)); + sprintf((Time),"%d %d %d\r\n", (0xffff-Spi.DAC_A), ((Spi.DAC_B-0x7fff)&0xffff), BuffADC_128Point[CountV64]); WriteCon(Time); + } Event500Hz--; Gyro.Event_500Hz=1;// Event 500Гц выдачи данных для постройки графика управления вибро