![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
forkd
Fork of LG2 by
Diff: main.c
- Revision:
- 109:ee0cff33ad3b
- Parent:
- 108:030cdde08314
- Child:
- 110:6406b7ac0442
--- a/main.c Sat Apr 02 11:15:38 2016 +0000 +++ b/main.c Sat Apr 02 13:10:40 2016 +0000 @@ -200,23 +200,26 @@ if (Time[0] == 'm') { // выдача технологическая sprintf(Time,"\r\n"); WriteCon(Time); - /* sprintf((Time)," <%07d> ",Cur_Amp); WriteCon(Time); - sprintf((Time)," <%07d> ",Znak_Amp); WriteCon(Time); - sprintf((Time)," <%07d> ",Spi.DAC_B); WriteCon(Time);*/ - sprintf((Time),"MaxAmp <%07d> ", MaxAmp); WriteCon(Time); - sprintf((Time),"CaunAddPlus <%07d> ", CaunAddPlus); WriteCon(Time); - sprintf((Time),"CaunAddMin <%07d> ", CaunAddMin); WriteCon(Time); + sprintf((Time),"Cur_Amp <%07d> ", Cur_Amp); WriteCon(Time); + sprintf((Time),"Znak_Amp <%07d> ", Znak_Amp); WriteCon(Time); + sprintf((Time),"AD_Regul <%07d> ", AD_Regul); WriteCon(Time); + // printf((Time),"AD_Regul <%07d> ", Delta); WriteCon(Time); + +// sprintf((Time),"Spi.DAC_B <%07d> ",Spi.DAC_B); WriteCon(Time);*/ +// sprintf((Time),"MaxAmp <%07d> ", MaxAmp); WriteCon(Time); + // sprintf((Time),"CaunAddPlus <%07d> ", CaunAddPlus); WriteCon(Time); + // sprintf((Time),"CaunAddMin <%07d> ", CaunAddMin); WriteCon(Time); +// sprintf((Time)," Gyro.Amp <%07d> ",amp); WriteCon(Time); - sprintf((Time)," Buff_Restored_sin [CountV31] <%07d> ",Buff_Restored_sin [CountV31]); WriteCon(Time); - sprintf((Time)," Gyro.Amp <%07d> ",amp); WriteCon(Time); - - } if (Time[0] == 'V') { // выдача технологическая - Gyro.Frq+=65000; + // Gyro.Frq+=65000; + AD_Regul += 65536 * 100; + } if (Time[0] == 'v') { // выдача технологическая - Gyro.Frq-=65000; + //Gyro.Frq-=65000; + AD_Regul -= 65536 * 100; } if (Time[0] == '8') { // выдача технологическая