![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: MTimer.c
- Revision:
- 216:189b0ea1dc38
- Parent:
- 215:b58b887fd367
- Child:
- 218:b4067cac75c0
diff -r b58b887fd367 -r 189b0ea1dc38 MTimer.c --- a/MTimer.c Tue Aug 29 06:33:08 2017 +0000 +++ b/MTimer.c Mon Sep 04 12:09:55 2017 +0000 @@ -36,20 +36,34 @@ void Event_1Hz(void)// событие раз в 1 Гц { static int tempdac=0,tempdac1; if (Event1Hz) - { - - - /* for(int q=0; q<64; q++) + { + + /* SinMns=0; + SinPls=0; */ + //BuffADC_64Point[CountV64] = ADC_64Point; + // BuffADC_32PointD[CountV64] = ADC_32PointD; + /* for(int q=0; q<64; q++) { - if( Buff_Restored_Mod[(q-Gyro.PLC_Phase)& 0x3f ] > 0) sprintf((Time)," 1 "); - else sprintf((Time)," 0 "); + sprintf((Time)," %d ", Buff_Restored_Mod[q]); WriteCon(Time); } sprintf((Time)," \r\n "); - WriteCon(Time); - */ - - + WriteCon(Time); + for(int q=0; q<64; q++) + { + sprintf((Time)," %d ", BuffADC_64Point[q]); + WriteCon(Time); + } + sprintf((Time)," \r\n "); + WriteCon(Time); */ + /* for(int q=0; q<64; q++) + { + sprintf((Time)," %d ", BuffADC_32PointD[q]); + WriteCon(Time); + } + sprintf((Time),"\r\n "); + WriteCon(Time); + */ /* Check(BuffTemp, 8); WriteConN (BuffTemp,8);*/