Tuesday, March 25, 2014

oled and beaglebone black testing


Thanks to the existing libraries from Adafruit (BBIO) and py-gaugette (http://guy.carpenter.id.au/gaugette/) I was able to extend the display capabilities using Python.  Video shown above testing for display and speed.

I also wrote my own font rendering, I built up a 8x16 pixel font set based on whatever my Ubuntu desktop had on its /usr/share/ directory that looked good enough when I was trying to figure out how to render ttf into bitmaps.  Thanks for the Python ImageFont module I was able to dump a bitmap font in to Python source code.

I also sped up font rendering by a lot by directly manipulating the image buffer at the byte level.  There is a lot more optimization that can be done but I think the performance is good enough for me to build up that menu system I am thinking about.

JondZ
March 2014


No comments:

Creating ipip tunnels in RedHat 8 that is compatible with LVS/TUN. Every few seasons I built a virtual LVS (Linux Virtual Server) mock up ju...