This commit is contained in:
Jonny007-MKD 2014-05-08 14:07:38 +00:00
parent 4484ed15fb
commit 71c556b75c
2 changed files with 7 additions and 2 deletions

View file

@ -2,7 +2,7 @@
includes
{
#include "ModbusCommon.cin"
#include "ModbusTcpCommon.cin"
}
variables
@ -26,6 +26,11 @@ on start
ModbusInit("192.168.1.3", 502);
}
on key 'r'
{
ModbusReadBits(0, 512);
}
on key 'a'
{
byte x[16] = {1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0};