Controlling BetaBrite LED Signs via Ruby

01Oct06

By Josh Adams.

1) Look here: http://tenderlovemaking.com/2006/09/28/new-ruby-betabrite-002/

2) gem install betabrite

3)

require ‘drb’
require ‘rubygems’
require ‘betabrite’

DRb.start_service()
obj = DRbObject.new(nil, ‘druby://eviladmins.org:9000’)

File.open(“out.jpg”, ‘wb’) { |a|
a.write obj.write_simple(“RubyHam”)
}

4)

powered by performancing firefox

Advertisements


No Responses Yet to “Controlling BetaBrite LED Signs via Ruby”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: