I have a co2 sensor and I want to use EK-TM4C123GXL launchpad to send the data into CC2530.
My plan is : Using Energia let EK-TM4C123GXL launchpad to get the data from co2 sensor and send it to CC2530 with I2C .
I'm trying to use "wire.h" to make the connection between EK-TM4C123GXL launchpad and CC2530 .
To compile CC2530 , which must be compiled with IAR 8051 , and EK-TM4C123GXL launchpad could be compiled with IAR AVR or Energia (I'd choosen it) , there is incompatible between the software.
This is my problem: How to use I2C to let those software connecting with each other ?