Under Development
MATRIX Lite RB is a library that allows users of varying skill levels to easily program their MATRIX Device.
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
Ensure you have a Raspberry Pi, attached with a MATRIX device, that's flashed with Raspbian Stretch.
https://matrix-io.github.io/matrix-documentation/matrix-hal/getting-started/installation-package/
sudo apt-get install ruby-full
sudo apt-get install swig
git clone --recurse-submodules https://github.com/matrix-io/matrix-lite-rb
cd matrix-lite-rb/matrix-hal-swig && git checkout master && cd ..
make
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.