Skip to content
(Under Development) Program your MATRIX device with Ruby!
Ruby Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
matrix-hal-swig @ 0b185b8
.gitignore
.gitmodules
Makefile
README.md
swigExamples.rb

README.md

MATRIX-Lite-RB

Under Development

MATRIX Lite RB is a library that allows users of varying skill levels to easily program their MATRIX Device.

Roadmap

This roadmap is for achieving a basic implementation of the checklist below. A nicer abstraction will eventually be added.

  • Leds
  • Sensors
    • IMU
    • Humidity
    • Pressure
    • UV
  • GPIO
  • Microphones
    • Hal Mics
    • Alsa Mics

Installation

Ensure you have a Raspberry Pi, attached with a MATRIX device, that's flashed with Raspbian Stretch.

1. Install MATRIX HAL

https://matrix-io.github.io/matrix-documentation/matrix-hal/getting-started/installation-package/

2. Install Ruby

sudo apt-get install ruby-full

3. Install SWIG

sudo apt-get install swig

4. Clone & Build matrix-lite-rb

git clone --recurse-submodules https://github.com/matrix-io/matrix-lite-rb
cd matrix-lite-rb/matrix-hal-swig && git checkout master && cd ..
make

Usage

You can use ruby swigExamples.rb to see a basic led example. The code inside that file will contain untouched examples of the HAL Swig wrapper.

Similar to matrix-lite-py, we will eventaully provide an abstracted library for this.

You can’t perform that action at this time.