How to display Variables from a script on to an OLED using simulink
14 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jack
am 21 Okt. 2023
Kommentiert: Jack
am 25 Okt. 2023
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 21 Okt. 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Modeling finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!