neopixel-edison-mraa

0.0.1 • Public • Published

NeoPixel-edison-mraa

NeoPixel library for edison via mraa gpio. Tested only in ubilinux and WS2812.

Dependencies

  • swig
  • mraa

Installation

Install mraa to ubilinux

Follow this article: https://learn.sparkfun.com/tutorials/installing-libmraa-on-ubilinux-for-edison

If you face Unknown CMake command "target_include_directories"., modify mraa source code -> https://github.com/Drunkar/mraa/commit/8c1891013a6665ac35d33ff00e13f1e3db3d53f5 .

apt-get -y update
apt-get install -y cmake python-dev swig

cd /home/edison/
git clone https://github.com/Drunkar/mraa.git
mkdir mraa/build && cd $_
cmake .. -DBUILDSWIGNODE=OFF
make
make install
echo "/usr/local/lib/i386-linux-gnu/" >> /etc/ld.so.conf
ldconfig

Install NeoPixel-edison-mraa

git clone https://github.com/Drunkar/NeoPixel-edison-mraa
cd NeoPixel-edison-mraa/src/
make
cd ../examples/

# python test
python strandtest.py

# c test
make
./whitetest

Readme

Keywords

Package Sidebar

Install

npm i neopixel-edison-mraa

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • demid5111