Associate II
November 12, 2018
Solved
How to use I2C_Write Block in Matlab Simulink with Input Data port enabled?
- November 12, 2018
- 2 replies
- 2945 views
I am trying to send a uint8 through the "Input Data" port on the I2C_Write block. According to the I2C polling example the block expects a uint8. However, when I build the C code and look at it in Keil I get an error in the "User's Data declarations for I2C_Write" saying
"Error: Cannot take the address of an rvalue of type 'uint8_T' (aka 'unsigned char')
I have provided screen shots of my project

