+ case PEEK:
+ l = cmddata[0];
+ I2C_Start();
+ unsigned char address = cmddata[1] << 1;
+ I2C_Write(address);
+ for(i=2; i < len; i++){
+ I2C_Write(cmddata[i]);
+ }
+ I2C_Start();
+ I2C_Write(address|1); // spit out the target address again and flip the read bit
+ I2CDELAY(1); // XXX We should wait for clock to go high here XXX
+ for(i=0; i < l; i++)
+ cmddata[i]=I2C_Read(i+1<l?1:0); // If the next i is still less than l, then ACK
+ I2C_Stop();
+ txdata(app,verb,l);
+ break;
+ case POKE:
+ break;
+