0.0.1 • Published 7 years ago

neopixel-edison-mraa v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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