Skip to content

Commit 8aceb7c

Browse files
authored
Indicator lights i2c debugging (#1)
i2c has been debugged. The main issue was probably me not re-initing the i2c driver properly and even with the library I pulled in I need to make the first config call twice to account for a corrupt bus state at boot. * Got this working with IDF v4.0 * Put the mcp23017 library into indicator lights. * Split things out into header files.
1 parent b7b3532 commit 8aceb7c

26 files changed

+2498
-1721
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ code/.vscode/
33
code/.vscode/c_cpp_properties.json
44
code/.vscode/settings.json
55
code/.vscode/c_cpp_properties.json
6+
code/.vscode/settings.json

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "code/components/esp-idf-lib"]
2+
path = code/components/esp-idf-lib
3+
url = https://github.com/UncleRus/esp-idf-lib.git

code/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The following lines of boilerplate have to be in your project's
22
# CMakeLists in this exact order for cmake to work correctly
33
cmake_minimum_required(VERSION 3.5)
4-
4+
set(EXTRA_COMPONENT_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/components/esp-idf-lib/components)
55
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
66
project(e28-cluster)

0 commit comments

Comments
 (0)