11#include "sygah-metadata.hpp" 
   12#include "sygah-endpoints.hpp" 
   14namespace sygaldry { 
namespace sygsr {
 
   29static constexpr unsigned int ADC_CHANNEL_0 = 0;
 
   30static constexpr unsigned int ADC_CHANNEL_1 = 1;
 
   31static constexpr unsigned int ADC_CHANNEL_2 = 2;
 
   32static constexpr unsigned int ADC_CHANNEL_3 = 3;
 
   33static constexpr unsigned int ADC_GPIO[] = {26,27,28,29};
 
   38template<
unsigned int input_number>
 
   43, 
copyright_<"Copyright 2023 Sygaldry Contributors">
 
   44, 
license_<"SPDX-License-Identifier: MIT">
 
   47    static_assert(ADC_CHANNEL_0 <= input_number && input_number <= ADC_CHANNEL_3);
 
   50        slider<
"raw", 
"raw binary representation of the analog voltage measured by the ADC" 
 
 
Document the author of an entity, e.g. a component or binding.
Definition sygah-metadata.hpp:39
 
Document the copyright statement of an entity, e.g. a component or binding.
Definition sygah-metadata.hpp:47
 
Document a textual description of an entity, e.g. an endpoint, component or binding.
Definition sygah-metadata.hpp:35
 
Document the copyright license of an entity, e.g. a component or binding.
Definition sygah-metadata.hpp:45
 
Document the name of an entity, e.g. an endpoint, component, or binding.
Definition sygah-metadata.hpp:33
 
A numeric endpoint with user customizeable range and persistent value semantics.
Definition sygah-endpoints.hpp:348
 
Definition sygsr-adc.hpp:49
 
Oneshot analog-digital converter.
Definition sygsr-adc.hpp:46
 
Document a textual description of the version number of an entity, e.g. a component or binding.
Definition sygah-metadata.hpp:51