Create write_lednode.rb

First cut of the Raspberry pi version