123
Fork of LG by
Diff: Command.c
- Revision:
- 195:bcc769f5292b
- Parent:
- 194:8f3cb37a5541
- Child:
- 196:f76dbc081e63
--- a/Command.c Thu Sep 15 14:00:43 2016 +0000 +++ b/Command.c Tue Sep 20 10:39:30 2016 +0000 @@ -448,7 +448,7 @@ // Temp = 000; Temp = Gyro.Termo; Temp = (0x7fff + Temp);///164 - Temp = /*0x7fff+*/Temp; + BuffTemp[36] =(Temp >> 8) & 0xff;//температура BuffTemp[37] =(Temp >> 0) & 0xff;//ADC6 sesnsor 5 @@ -939,9 +939,13 @@ } if (Time[0] == 'V') { // выдача технологическая Spi.DAC_B += 200; + sprintf(Time,"%d\r\n", Spi.DAC_B); + WriteCon(Time); } if (Time[0] == 'v') { // выдача технологическая Spi.DAC_B -= 200; + sprintf(Time,"%d\r\n", Spi.DAC_B); + WriteCon(Time); } //////////////////////////////////////////////////////////////////////////////// /*Запись лога регулировки частоты*/ @@ -995,7 +999,7 @@ } } if (Gyro.PLC_Error2Mode) { // выдача технологическая - sprintf(Time,"\r\nPLC_Error2Mode"); + // sprintf(Time,"\r\nPLC_Error2Mode"); WriteCon(Time); } }