Thanks for getting me started on the LED blinking, finding out about the POKE command for setting the correct clock rate was a big thing for me.

I'm using the i2cout command at this time and have a few questions.

1) the command seems to work for some PICs but not others. I get a compiler error - undefined symbol PortA for a 12F629, but not for a 16F819.

Is this a correct diagnosis?

2) What kind of preliminary housekeeping commands would I need to set up the 16F819 for i2c operation. I'm sure that I have to set the clock rate (4MHz) and the PortA,0 and PortA,1 as outputs, but anything else?

3) The command i2cout has me a little confused. The first variable is the control code, with the leading bite determining the address as word or byte. The next variable contains the i2c device address.

I am going to be talking to a PCA9633 PWM LED driver. Theis device has no control code, only a slave address. Once the slave answers the address byte, you start feeding it data to set the LEDs.

I have sucessfully run this device using another PIC device, the PicAxe, from England. The data sequence was ADDRESS,DATA,DATA... with no control code.

I'm sure a lot of this is pretty inchoherent, but I'm just learning how to ask questions in PBC. I'm also working on this in parallel, so might find the answers myself. But your last answer really helped, so here I am.

Thanks.

Alan