I am trying to read arduino produced gyro data into simulink but am having major troubles doing so.
This is my arduino code that prints out the gyro data. This is working properly as you can see in the first image this is my serial plotter, which is giving correct data. I know it is just a decoding error in simulink. I have searched everywhere for a solution but so far have come up empty. If you have any ideas on how to fix this please reply.
This image is my scope on simulink. The data is completely useless.
This is what I have in simulink. The Baud rate and everything is correct and matches what I have in my arduino code. I have tried it with and without the ASCII decoder block and have gotten similar results.
This is my settings in Serial Receive block in simulink.
This is my settings in ASCII decode block in simulink.
This is my settings in Serial Configuration block in simulink.