print on an I2C LCD connected to arduino

14 visualizzazioni (ultimi 30 giorni)
Alessio Romeo
Alessio Romeo il 8 Mar 2019
Modificato: Krishna Sai il 18 Lug 2023
Hello everyone!
I have some problems with an I2C LCD connected to an arduino UNO and Matlab, searching online i couldn't find anything.
I would like to print a text on this LCD using just matlab code.
I show you my basic code (i tryed to modify a lot of values but it doesn't work), it runs but nothing appears on the LCD
curios thing: if instead of 'Hello' i write a number between 0 and 9 the lcd's illuminations ends
a=arduino(); %creates an arduino object
port=scanI2CBus(a) %scan the device address
dev = i2cdev(a,port{1,1}) %creates a connection with the device
write(dev,'Hello') %write on the device
  3 Commenti
Eduardo Viana
Eduardo Viana il 9 Gen 2022
Hi, everybody....
does everyone gets to sort this out. Please let me know cause I am facing the same issue.
Eduardo
Krishna Sai
Krishna Sai il 18 Lug 2023
Modificato: Krishna Sai il 18 Lug 2023
Hey did you find the solution??

Accedi per commentare.

Risposte (1)

Malaidevan
Malaidevan il 17 Dic 2019
Am struggling with the same...
Please let us know if you get an update

Categorie

Scopri di più su MATLAB Support Package for Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by