AnsweredAssumed Answered

I2C Accelerometer ISsues on FRDM-board

Question asked by SAIPRIYA SUBRAMANIAN on Sep 22, 2016
Latest reply on Sep 25, 2016 by Robin_Shen


 I am trying to make the on board inertial sensor and I2C to communicate and blink LEDS based on xyz directions as RGB on a FRDM-KE02Z40M board. I didnot have a driver for the on board inertial sensor MMA8451Q on the IDE KDSV3.0 and PE and so I used the driver code for the sensor from the source link below. 


The errors that I am getting is with regard to the definition of the struct on the device driver. (screenshot attached)



I am not sure why the object MMA8451_TDatastate is not being created or errors are thrown. Syntactically this looks okay to me. Any thoughts or suggestions are welcome. Thanks!


P.S.I have not used the GPIO_LDD component as mentioned in the link. I am not sure what its use case is.