📄 list.11.txt
字号:
//*******************************
// Sending information about
// spectrum and window used to PC
//*******************************
void SendSpectrumInfo(fix *Spectrum, WindowType wt)
{
unsigned long i;
unsigned char summa;
SendByte(0xAA);
SendByte((unsigned char)wt);
summa=0xAA+(unsigned char)wt;
for(i=0;i<256;i++)
{
unsigned long SpBin=Spectrum[i];
SendByte((SpBin>>24)&0xFF);
SendByte((SpBin>>16)&0xFF);
SendByte((SpBin>>8)&0xFF);
SendByte(SpBin&0xFF);
summa+=((SpBin>>24)&0xFF);
summa+=((SpBin>>16)&0xFF);
summa+=((SpBin>>8)&0xFF);
summa+=(SpBin&0xFF);
}
SendByte(0x100-summa);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -