- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I'm using Ubilinux because there are so many good features about it.
However, my only issue that I have right now, is how to use the RGBLCD with Ubilinux. It does come with the mraa library, but no documentation on how to use the LCD anywhere, besides changing the color of the screen. I really want to be able to add text to the LCD screen as well.
https://github.com/intel-iot-devkit/mraa/blob/master/examples/python/rgblcd.py mraa/rgblcd.py at master · intel-iot-devkit/mraa · GitHub
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi sehmo,
I suggest you to first check the latest version of MRAA, to verify you have the latest one. http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/ http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/
The example for LCD provided in https://github.com/intel-iot-devkit/mraa/blob/master/examples/python/rgblcd.py https://github.com/intel-iot-devkit/mraa/blob/master/examples/python/rgblcd.py is for the Grove-LCD RGB blacklight. In order to add text in the LCD I suggest you to check the datasheet of the LCD you are using so you can send the instructions you want.
http://www.seeedstudio.com/wiki/images/0/03/JHD1214Y_YG_1.0.pdf http://www.seeedstudio.com/wiki/images/0/03/JHD1214Y_YG_1.0.pdf
http://www.seeedstudio.com/wiki/images/1/1c/PCA9633.pdf http://www.seeedstudio.com/wiki/images/1/1c/PCA9633.pdf
In case you are using the JHD1313M1 Display, I suggest you to use the UPM libraries and examples.
https://github.com/intel-iot-devkit/upm/blob/master/examples/python/jhd1313m1-lcd.py https://github.com/intel-iot-devkit/upm/blob/master/examples/python/jhd1313m1-lcd.py
Regards,
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
How do I get the library pyupm_i2clcd on ubilinux?
pip install pyupm_i2clcd doesn't work for me, nor do I see the library files on the github account. Please help.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
In Yocto you can use the ipk package from http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/ http://iotdk.intel.com/repos/3.0/intelgalactic/opkg/i586/, and install it with opkg install upm once the repository set in /etc/opkg.
In order to install the library in Ubilinux I suggest you to contact EmutexLabs, they are the owners of the image so they could help you and give you the best way of install this library. http://www.emutexlabs.com/forum/index http://www.emutexlabs.com/forum/index
You can build it by following this instructions: https://github.com/intel-iot-devkit/upm/blob/master/docs/building.md https://github.com/intel-iot-devkit/upm/blob/master/docs/building.md
Is this the file you need https://github.com/intel-iot-devkit/upm/blob/master/src/lcd/pyupm_i2clcd.i https://github.com/intel-iot-devkit/upm/blob/master/src/lcd/pyupm_i2clcd.i?
Regards,
Charlie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks Charlie!
This looks like what I need! I'll try it out tonight!
Senh Mo

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page