Hello, I apologize if my problem is a simple one, I am new to coding msp's and codecoposer. I am trying to use this MMA8452Q triple Axis accelerometer to detect offsets. As in Portrait / landscape detection, and communicate the 8 bit x, y, and z data to me. (i was just gonna use the variables tab in codecomposer for seeing the output).
I wrote this code which I have attached using the MMA8452q datasheet for reference while coding this. When i tried to run the code It came up with errors and i have been trying to debug it for a while. I feel like i am very close, but I can't seem to figure