122
2068
6213
论坛元老
void CRC() //计算校验码 { tmd=0; t1=A35[8]; t2=A35[9]; t3=A35[10]; t4=A35[11]; tmd+=3; if(A35[3]==0) t4=!t4; B32[28]=t1; B32[29]=t2; B32[30]=t3; B32[31]=t4; } void set_temp(u8 temp) //设置温度 16~30 { if(temp<16||temp>30)return; tmd=temp-16; A35[8]=t1; A35[9]=t2; A35[10]=t3; A35[11]=t4; CRC(); missile_launch(); }复制代码
使用道具 举报 送花
3
48
1204
金牌会员
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|深圳国芯人工智能有限公司 ( 粤ICP备2022108929号-2 )
GMT+8, 2025-9-3 09:00 , Processed in 0.131974 second(s), 50 queries .
Powered by Discuz! X3.5
© 2001-2025 Discuz! Team.