Skip to content

Raspberry PI 5 very basic C++ code to interact with WS2812

Notifications You must be signed in to change notification settings

c0bra-dev/TIMED2812

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

TIMED2812

Raspberry PI 5 very basic C++ code to interact with WS2812B LED on normal GPIO through RP1 chip and the use of basic timers.

Timers are adjusted through the use of an oscilloscope to match measured times. Code seems more stable than I expected.

Requires wiringPi. Install with

sudo apt update sudo apt install git git clone https://github.com/WiringPi/WiringPi.git cd WiringPi sudo ./build

Compile this code: g++ -o timed2812 timed2812.cpp -lwiringPi

and run: sudo ./timed2812

About

Raspberry PI 5 very basic C++ code to interact with WS2812

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages