-
Datei
nau7802.cpp
} int32_t nau7802_readADC() { nau7802_startConversion(); // wait until the conversion is finished while (!nau7802_getReady()) { nau7802_getReady(); } return nau7802_getADC(); } int32_t nau7802_convertToUV(int32_t
in „interner Temperatursensor NAU7802 24Bit ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nau7802.cpp
PU_CTRL); } int32_t nau7802_readADC() { nau7802_startConversion(); // wait until the conversion is finished while (!nau7802_getReady()) { nau7802_getReady(); } int32_t result; result = nau7802_getADC(); return result; } int32_t nau7802_convertToUV(int32_t adc){ int64_t voltage = ((int64_t)adc * VREF * 1000) >> 24;; return voltage; } int32_t nau7802_readTemperatureADC() { uint8_t reg = 0; // read I2C_CONTROL register nau7802_read
in „interner Temperatursensor NAU7802 24Bit ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nau7802.h
/* * nau7802.h * * Created on: Dec 21, 2013 * Author: avion */ #ifndef NAU7802_H_ #define NAU7802_H_ #define VREF 2400 #define RETRY_LIMIT 5 // how often should we try if a command failed? #define NAU7802_I2C_ADDRESS
in „interner Temperatursensor NAU7802 24Bit ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
nau7802.h
/* * nau7802.h * * Created on: Dec 21, 2013 * Author: avion */ #ifndef NAU7802_H_ #define NAU7802_H_ #define VREF 2400 #define RETRY_LIMIT 5 // how often should we try if a command failed? #define NAU7802_I2C_ADDRESS
in „interner Temperatursensor NAU7802 24Bit ADC“ · Mikrocontroller und Digitale Elektronik ·
-
Datei
armbian_modules.txt
snd-soc-ak4458 snd-soc-ak5558 snd-soc-simple-amplifier snd-soc-tas6424 snd-soc-es7241 snd-soc-bd28623 snd-soc-nau8540 snd-soc-spdif-tx snd-soc-es8328-i2c snd-soc-es8328 snd-soc-pcm1789-codec snd-soc-cs35l35 snd-soc-pcm1789-i2c snd-soc-pcm186x-spi snd-soc-nau8824 ac100-codec sun4i-codec sun8i-codec-analog sun8i-adda-pr-regmap
in „Samba auf Banana Pi Pro installieren“ · PC Hard- und Software ·
-
Datei
config-mod-LK511-mt7623n-BPiR2.txt
is not set # CONFIG_SND_SOC_MT6351 is not set # CONFIG_SND_SOC_MT6358 is not set # CONFIG_SND_SOC_NAU8540 is not set # CONFIG_SND_SOC_NAU8810 is not set # CONFIG_SND_SOC_NAU8822 is not set # CONFIG_SND_SOC_NAU8824 is not set # CONFIG_SND_SOC_TPA6130A2 is not set # CONFIG_SND_SIMPLE_CARD is not set #
in „Linux Kernel 5.1.1. auf dem BPi-R2“ · PC Hard- und Software ·