gLCD SendCommand() help?
Posted: Mon Dec 31, 2018 1:14 pm
Hello All.
I just got a new color 128x128 oled display(nice display). It uses the ssd1351 component.
I have been playing with sending commands to it using SendCommand(). For instance SendCommand(174) turns off the display 175 turns it on. Some of the stuff isn't supported in the component so I am trying to do it manually.
There is a command that 'Set Contrast Current for Color A,B,C (C1h)' This is DEC:193. I can send that using the above SendCommand() but it needs a BYTE to follow. I tried using the SendData right after but it doesn't work.
Does anyone know how to send a command 193 and include the BYTE afterword?? There is no ref in any of the help and the wiki has nothing on it..
thanks,
chad
I just got a new color 128x128 oled display(nice display). It uses the ssd1351 component.
I have been playing with sending commands to it using SendCommand(). For instance SendCommand(174) turns off the display 175 turns it on. Some of the stuff isn't supported in the component so I am trying to do it manually.
There is a command that 'Set Contrast Current for Color A,B,C (C1h)' This is DEC:193. I can send that using the above SendCommand() but it needs a BYTE to follow. I tried using the SendData right after but it doesn't work.
Does anyone know how to send a command 193 and include the BYTE afterword?? There is no ref in any of the help and the wiki has nothing on it..
thanks,
chad