Can anybody suggest me , where can I get the example code for the OLED "Hello" display using SSI communication.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Can anybody suggest me , where can I get the example code for the OLED "Hello" display using SSI communication.
Dear Petrei
Thanks for the response. But which you specified is UART Communication right!
I am looking for the SSI Communication sample code for OLED, with launchpad LM4F232H5QD. Kindly let me know.
Hi,
Please note you have three SSI modules on your micro, so if one module is used for an OLED display, then you may use another one for other SSI communication types, and use its base address for the new task.
In some extreme cases, you may use the same SSI module for other devices, but this means reconfiguration for each type, so it would be better to avoid it, at least for a while, until you get more experienced with this micro.
Petrei
Hi,
I think this display it is not so complicated like others - to write a string you may use the library function void GrStringDraw(..., i32X, i32Y, ...) where you have to refer points i32X, i32Y on display, where the string should be painted. The origin (0,0) is the upper left corner, if I remember well. Anyway, the Tiva/doc folder has a .pdf doc describing all internals of this display/graphics library.
Look also for display's data sheet.
Hi,
You need to clear an ACII line (to wipe out a string) - the only method is to draw again a string with the same length as the original, but containing only spaces (0x20).
Take care in grlib a "line" is a graphical one, as for rectangle drawing.
Petrei