Skip to content

Drunkar/NeoPixel-edison-mraa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoPixel-edison-mraa

NeoPixel library for edison via mraa gpio. Tested only in ubilinux, yocto 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/

# wiring
if using arduino expansion board, connect ws2812 to A1 pin

# python test
python strandtest.py

# c test
make
./whitetest

About

NeoPixel library for edison via mraa gpio.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published