Well I got a work around
Code:override: LCDOUT $FE,$D4,"All On " A=4095 For B = 0 to 15 pcaChannel = B i2cControl = $6 + 4*pcaChannel I2CWRITE SDApin,SCLpin,i2cWriteAddress,i2cControl,[0,0,A.lowbyte,A.highbyte] next B If IncButton=0 then A=0 For B = 0 to 15 pcaChannel = B i2cControl = $6 + 4*pcaChannel I2CWRITE SDApin,SCLpin,i2cWriteAddress,i2cControl,[0,0,A.lowbyte,A.highbyte] next B Gosub SetButtonRelease n=0 LCDOUT $FE,$D4," " endif




Bookmarks