diff options
author | Josh Rahm <joshuarahm@gmail.com> | 2021-11-21 01:43:23 -0700 |
---|---|---|
committer | Josh Rahm <joshuarahm@gmail.com> | 2021-11-21 01:43:23 -0700 |
commit | 47f0d11301c71819ced150deb96b7304ee10bab1 (patch) | |
tree | 8f7dd394bb859d04c3cdb21d9ad4e8143f2ae1c3 /CMakeLists.txt | |
parent | 85d993bcc6363eb20019cd5519784733b1f929c1 (diff) | |
download | esp32-ws2812b-47f0d11301c71819ced150deb96b7304ee10bab1.tar.gz esp32-ws2812b-47f0d11301c71819ced150deb96b7304ee10bab1.tar.bz2 esp32-ws2812b-47f0d11301c71819ced150deb96b7304ee10bab1.zip |
Add crude ws2812b driver.
This driver can run lights! However it is very crude and does not
provide a great API. It does work though! Currently lights up 5 leds of
different colors.
Right now this does synchronous writes, which is not the best. It would
be better to be async, but I think that sholud not be a problem and will
shortly be done.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9029fdc..a7c126d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,5 +2,7 @@ # CMakeLists in this exact order for cmake to work correctly cmake_minimum_required(VERSION 3.5) +list(APPEND EXTRA_COMPONENT_DIRS "${CMAKE_CURRENT_LIST_DIR}/main/drv") + include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(ws2812b) |