Skip to content
/ LLCBKv2 Public

LED Lighting Control By K4 - A Multithreaded, GUI Enabled, WS281x Controller written in C++

Notifications You must be signed in to change notification settings

K4HVH/LLCBKv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLCBKv2

LED Lighting Control By K4 - A Multithreaded, GUI Enabled, WS281x Controller written in C++

Designed for the purpose of controlling custom lights in a vehicle

Supports RPI4B OOTB

Features

  • Multithreaded
  • GUI Enabled
  • Thread Interruption
  • Basic Animation Examples

Installation

Compile

1.) Clone this project

2.) Clone RPI WS281x and compile it as per the instructions in the repo

3.) Make sure the includes in main.cpp pick up the WS281x repo

4.) Modify PWM Channels if needed

5.) Compile and have fun

Download

1.) Download the precompiled binary HERE

2.) Run and have fun

Documentation

  • 2 PWM Channels (0 and 1) (Pin 18/19)

  • 3 Input Pins (GPIO 17, 27, 22)

  • Supports SK6812/WS2811/WS2812

  • NOTE: GUI HAS NOT BEEN ADDED YET, STILL WIP

Changelog

Release v0.3

  • Changed delay
  • Changed brightness

Release v0.2

  • Implemented input handling (GPIO 17, 27, 22)
  • Added braking / braking + indicating animations (Mode 2, 25)
  • Improved cleanup
  • Fixed shutdown and led halt
  • Implemented mode handling (Desired and Running)
  • Improvements to animations
  • Fixed some issues with channel 1
  • Other fixes and tweaks

Acknowledgements

About

LED Lighting Control By K4 - A Multithreaded, GUI Enabled, WS281x Controller written in C++

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages