Skip to content

Instantly share code, notes, and snippets.

@8th-Light-Blog
Created June 28, 2011 19:55
Show Gist options
  • Save 8th-Light-Blog/1052031 to your computer and use it in GitHub Desktop.
Save 8th-Light-Blog/1052031 to your computer and use it in GitHub Desktop.
Blog Title: Embedded Ruby Talks Morse
Author: Doug Bradbury
Date: January 9th, 2009
include MemoryMappedIO
from_register = read(0x560000010, "w")
write(0x560000010, "w", from_register | 0x00000001)
configure :production do
require 'leds_S3C2440A'
end
configure :development do
require 'mock_led'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment