How to display Variables from a script on to an OLED using simulink
14 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Walter Roberson
on 21 Oct 2023
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 Comments
More Answers (0)
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!