新手求助 can 通讯
按键信号是can 信号 按键状态是一直发送的 现在 jiashimoshi =1 jiashimoshijishu =一直 0 1 2 循环
if ( jiashimoshi ==1) jiashimoshi =按键 不安=0 按=1
jiashimoshibiaozihi=0;
jiashimoshijishu+=1; jiashimoshijishu 有三个状态 0 1 2
{
if(jiashimoshijishu==3)
jiashimoshijishu=0;
}