MOD-LCD1x9 is UEXT module which could connect to any of our boards with UEXT connector like Arduino, Maple, Pinguino, Energia and of course OLinuXino.
It’s interfaced by I2C and with this code from GitHub https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/I2C/MOD-LCD1x9 you can drive it via iMX233-OLinuXino.
To work with MOD-LCD1x9 you should make sure your iMX233-OLinuXino is setup for hardware I2C as explained in my previous tutorial: https://olimex.wordpress.com/2012/09/25/imx233-olinuxino-i2c-tutorial-using-wii-nunchuk/
Then you need to download the code and compile it:
$ cc main.c -o mod-lcd1x9
then make the compiled code executable:
$ chmod +x mod-lcd1x9
then if you execute this command you will see all segments on as on the picture above
$ ./mod-lcd1x9 -init
this command is necessary to be executed first to may initialize LCD registers properly, then you can display any text on the lcd with the command ./mod-lcd1x9 “text”, for instance:
$ ./mod-lcd1x9 hello
will display on the LCD: