Sun, 10 Sep 2023 17:29:15 +0200
Version 0.4.3. Attempt to fix the sunlight overflow of the APDS9930 sensor in the private part of the esp-idf-lib. Removed some error checks from functions that always return OK. Store light sensor registers in the state record and report the values in the json result string.
# frozen_string_literal: true require "rspec" require "yaml" require_relative "metadata" @component_dir = File.expand_path(File.join(File.dirname(__FILE__), "../../components")) def metadata_array directories = Dir.children(Dir.new(@component_dir)).map { |c| File.join(@component_dir, c) } directories = directories.select { |d| File.directory?(d) } directories.map { |path| Metadata.new(path) } end