Обе лампы могут управляться по CAN

This commit is contained in:
2025-08-19 17:58:22 +03:00
parent ca3ffe0d98
commit 330f17d4e3
8 changed files with 956 additions and 932 deletions

View File

@@ -60,6 +60,7 @@ void main()
int i,j,n,z,mask,qua;
static int rscount, cancount[2]={1,2},cancell[2]={0,0},candid[2]={0,0};
static unsigned int masca[8], presbyt;
static int precom=0;
RS_DATA * rs;
@@ -123,6 +124,8 @@ void main()
CanRound[i]=
CanCycle[i]=0;
comand=0;
EALLOW;
SysCtrlRegs.WDCR= 0x2F;
EDIS;
@@ -245,6 +248,10 @@ void main()
get_Buttons();
if(Commands!=precom)
comand = Commands & (~precom|comand);
precom = Commands;
if(cDefParam)
{
cDefParam=0;