Fri, 07 Apr 2023 14:31:17 +0200
The esp-idf-lib apds9930 component is now working. In nvsio stop logging not updated values. Store gain and aglbit values in nvs.
if(${IDF_TARGET} STREQUAL esp8266) set(req esp8266 esp_timer) elseif(${IDF_VERSION_MAJOR} STREQUAL 4 AND ${IDF_VERSION_MINOR} STREQUAL 1 AND ${IDF_VERSION_PATCH} STREQUAL 3) set(req driver) else() set(req driver esp_timer) endif() idf_component_register( SRCS button.c INCLUDE_DIRS . REQUIRES ${req} )