How to display Variables from a script on to an OLED using simulink
14 次查看(过去 30 天)
显示 更早的评论
hello
I am having an issue displaying variables on my OLED Display (ssD 13150) im a bit new to matlab and think i need to use simulink but am not sure and vcant find to much info on using oled displys in matlab , does anyone have any resources or tips they can give me
0 个评论
采纳的回答
Walter Roberson
2023-10-21
Use simulink arduino I2C blocks; https://www.mathworks.com/matlabcentral/answers/318267-how-to-communicate-with-the-arduino-i2c-in-simulink
https://www.mathworks.com/matlabcentral/answers/512483-how-to-control-ssd1306-128x32-oled-display-in-matlab#answer_1149845 gives an example of the I2C that would be needed to turn on a SSD1306
https://www.mathworks.com/help/supportpkg/arduino/ref/adxl343-read-acceleration-tap-count-oled-io-device-builder.html shows an example of creating custom I/O blocks that use I2C to talk to an OLED that is compatible with SH1106 . I am not sure if you will need to go that far
14 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!