This commit is contained in:
parent
f82756e670
commit
d843a68116
1 changed files with 4 additions and 3 deletions
|
@ -93,7 +93,7 @@ on key '-'
|
|||
|
||||
on key 't'
|
||||
{
|
||||
setTimerCyclic(muster, 1);
|
||||
setTimerCyclic(muster, 100);
|
||||
}
|
||||
on key 'T'
|
||||
{
|
||||
|
@ -102,7 +102,7 @@ on key 'T'
|
|||
|
||||
on timer muster
|
||||
{
|
||||
if (gX[0] != 0)
|
||||
/*if (gX[0] != 0)
|
||||
{
|
||||
if (gX[0] == 0x80)
|
||||
{
|
||||
|
@ -122,7 +122,8 @@ on timer muster
|
|||
else
|
||||
gX[1] <<= 1;
|
||||
}
|
||||
ModbusWriteBits(0, 16, gX);
|
||||
ModbusWriteBits(0, 16, gX);*/
|
||||
ModbusReadBits(0, 512);
|
||||
}
|
||||
|
||||
/**/
|
||||
|
|
Loading…
Reference in a new issue