AnsweredAssumed Answered

Read I2C Data Line

Question asked by burgeh on Dec 17, 2018
Latest reply on Dec 18, 2018 by Kerry Zhou



I am currently using the MK22FN256LVH12 Microcontroller with KDS v3.2 with Processor Expert.


I have an i2c sensor that I was forced to bit-bang to get the correct data out of it. So I have been manually clocking the bits in and out. However, is there a built in function, or way I can read the data line into an array so I can actually use the data I am getting? The drivers for Processor Expert can't follow the protocol so I cannot use those.