how to programm lcd display with simulink on raspberry pi

조회 수: 8 (최근 30일)
steffen seligmann
steffen seligmann 2018년 11월 9일
댓글: Rohan Sanghavi 2021년 1월 10일
Im currently trying to programm a small led display https://www.amazon.de/gp/product/B01L9GC470/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1 . So i wanna do it with Matlab SImulink but cant find any documentation on it. Any help would be nice.

채택된 답변

Mark McBroom
Mark McBroom 2018년 11월 10일
The interface to the display is I2C. You'll need to use the I2C Master Read and I2C Master Write blocks that come with the Simulink Support Package for Raspberry Pi .
  댓글 수: 4
Walter Roberson
Walter Roberson 2021년 1월 9일
Section 8.7 of the PDF makes it clear that the SSD1306 is fundamentally a bit-mapped display. You cannot send it characters for it to convert into display.
Please remember that "characters" are not something that can be displayed. "Characters" need to be interpreted through "font family", "font size", "font weight", "font angle", and rotation.
Computer Vision insertText() and insertShape() can be used to render characters and shapes into an array that can then be sent to the device.
Rohan Sanghavi
Rohan Sanghavi 2021년 1월 10일
My question is a bit different. I need to connect to an RG1602A to raspberry pi, via simulink.
My board is Raspberry pi 3 model B
I have an i2c connection. But I dont know how to include the initialisation steps in the simulink model.
Any help would be great.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by