Hello,
Currently, I'm using version R2023a. The program is no longer functional. I'm encountering errors and when there aren't any errors, the result is incorrect. Baud rate: 115200 chosen on the COM2 of the Arduino DUE.
The issue seems to arise from the data type chosen in the Arduino serial receive block. I've tried multiple combinations but still haven't managed to get the sensor working correctly. I've also tried adapting the example open_system('arduino_encode_decode_packet'), but without success. The sensor works fine with Arduino using the attached code (Tfmini.txt, (.ino)).
Does anyone have an idea of how to configure the Arduino serial receive, and the protocol decoder in Simulink to make it works again?
Thank you in advance.