;CY3270 - PSoC FirstTouch
;FirstTouch DemoBoard - FTMF Expansion Card
w03 00 00 01 01 [delay=300] ; Red LED On
w03 00 00 00 01 [delay=300] ; Red LED Off
w03 00 01 01 01 [delay=300] ; Green LED On
w03 00 01 00 01 [delay=300] ; Green LED Off
w03 00 02 01 01 [delay=300] ; Blue LED On
w03 00 02 00 01 [delay=300] ; Blue LED Off
;Read LEDs fields and Update Flag
w03 00 r03 x x x
;Read BYTE(1), INT(2), LONG(4), FLOAT(4) fields
w03 03 r03 x x x x x x x x x x x

;I2C Buffer of EzI2C UM
;struct I2C_Regs {    // Example I2C interface structure  
;    BYTE ledNo;      //RW - Led ID {0,1,2}
;    BYTE ledState;   //RW - Led State {On=1,Off=0}
;    BYTE fUpdate;    //RW - Apply changes flag (1-update)
;    BYTE byteTest;   //RO - Byte = 0x12
;    INT  intTest;    //RO - Int  = 0x3456
;    LONG longTest;   //RO - Long = 0x7890ABCD
;    float floatTest; //RO - Float= 1.25
;} MyI2C_Regs;