Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
参数 & 接口 & 尺寸
准备 & 硬件连接
例程代码
#define TEMT6000_ADC_PIN 7 void setup() { pinMode(TEMT6000_ADC_PIN, INPUT); Serial.begin(115200); } void loop() { int lightValue = analogRead(TEMT6000_ADC_PIN); Serial.print("Raw Data:"); Serial.println(lightValue); float val = ((float)lightValue/4096)*3.3; Serial.print(val); Serial.println("V"); delay(1000); }
运行结果
硬件原理图
数据手册