Ruby Gem for controlling GLK series of displays
Posted: Sat Aug 16, 2008 12:46 pm
Hello,
I have been working on a gem for the Ruby programming language to control the GLK series of Matrix Orbital displays.
Here is a quick example:
require 'matrixorbital/glk'
glk = MatrixOrbital::GLK.new('/dev/ttyUSB0')
glk.clear_screen
glk.backlight = true
glk.brightness = 128
glk.puts "Hello World!"
A subset of the commands available are currently supported, but I hope to support most of the commands in time, including font and bitmap upload.
Project homepage is here:
http://rubyforge.org/projects/matrixorbital
More examples in subversion here:
http://matrixorbital.rubyforge.org/svn/trunk/examples/
API Documentation is here:
http://matrixorbital.rubyforge.org/
I have tested it with a GLK19264-7T-1U and GLK24064-25 display under Debian Linux and ruby 1.8.5.
nick.
I have been working on a gem for the Ruby programming language to control the GLK series of Matrix Orbital displays.
Here is a quick example:
require 'matrixorbital/glk'
glk = MatrixOrbital::GLK.new('/dev/ttyUSB0')
glk.clear_screen
glk.backlight = true
glk.brightness = 128
glk.puts "Hello World!"
A subset of the commands available are currently supported, but I hope to support most of the commands in time, including font and bitmap upload.
Project homepage is here:
http://rubyforge.org/projects/matrixorbital
More examples in subversion here:
http://matrixorbital.rubyforge.org/svn/trunk/examples/
API Documentation is here:
http://matrixorbital.rubyforge.org/
I have tested it with a GLK19264-7T-1U and GLK24064-25 display under Debian Linux and ruby 1.8.5.
nick.