Re: I2C Harmony Example
If you are using any Harmony services like USB, File System, TCP or Graphics, I would use the Harmony I2C code as it will maintain the other task service requirements that are needed.
There are very few call that are needed to use the driver:
DRV_I2C_TransmitThenReceive // write address then read back.
DRV_I2C_TransferStatusGet // see if operation is done
DRV_I2C_Transmit // straight write to device.
This requires making a small application level state machine for the different actions and waits.
Kind-of an app_i2c_Tasks.
The best area to look is the i2c.h file the description of each call above.
JTZ Engineering, Inc.