626Pilot / RaspberryPi-NeoPixel-WS2812

Library for driving WS2812 pixels (also known as "NeoPixels" when sold by Adafruit) from a Raspberry Pi.
132 stars 26 forks source link

Compile as C++ without errors #7

Open kees-jan opened 8 years ago

kees-jan commented 8 years ago

Hi, I'd really like to use this code in a C++ project. However, when passing the code to g++, there are several errors and warnings. This pull request fixes them.

There are 4 commits

The bulk of the work is in the third commit. I'd be much obliged if you merged at least that one :-)

Thanks!

Kees-Jan

caspervanzoest commented 8 years ago

Thank u so much! Now you are expecting a beer in return, I assume? ;-)