Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
/ rbone Public archive

rbone makes it really simple to develop Arduino-style applications for the BeagleBone in Ruby

License

Notifications You must be signed in to change notification settings

majormajors/rbone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rbone

Build Status

Rbone makes it easy to write Arduino-style applications for your BeagleBone in Ruby.

Installation

Add this line to your application's Gemfile:

gem 'rbone'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rbone

Usage

Blink an LED!

#!/usr/bin/env ruby

require 'rbone'

Rbone::App.new do |app|
  app.setup do
    pinMode(P8_3, OUTPUT)
  end

  app.loop do
    digitalWrite(P8_3, HIGH)
    delay(1000)
    digitalWrite(P8_3, LOW)
    delay(1000)
  end
end

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

rbone makes it really simple to develop Arduino-style applications for the BeagleBone in Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages