from PCANBasic import *
import array


rCellVInit = TPCANMsg()
rCellVInit.ID = 0x79b
rCellVInit.MSGTYPE = 0x00
rCellVInit.LEN = 8
rCellVInit.DATA[0] = 0x02
rCellVInit.DATA[1] = 0x21
rCellVInit.DATA[2] = 0x04
rCellVInit.DATA[3] = 0x00
rCellVInit.DATA[4] = 0x00
rCellVInit.DATA[5] = 0x00
rCellVInit.DATA[6] = 0x00
rCellVInit.DATA[7] = 0x00


rCellV = TPCANMsg()
rCellV.ID = 0x79b
rCellV.MSGTYPE = 0x00
rCellV.LEN = 8
rCellV.DATA[0] = 0x30
rCellV.DATA[0] = 0x01
rCellV.DATA[0] = 0x00
rCellV.DATA[0] = 0xff
rCellV.DATA[0] = 0xff
rCellV.DATA[0] = 0xff
rCellV.DATA[0] = 0xff
rCellV.DATA[0] = 0xff
