온도 adc 측정 추가

This commit is contained in:
geniushyun
2026-04-12 19:15:59 +09:00
parent 6ac0490263
commit 201f1bcff2
6 changed files with 160 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@
#define ZEPHYR_USER_NODE DT_PATH(zephyr_user)
/* 디바이스트리에서 ADC 채널 스펙 가져오기 (gain, ref, acq time, input, resolution, oversampling) */
static const struct adc_dt_spec battery_adc = ADC_DT_SPEC_GET(ZEPHYR_USER_NODE);
static const struct adc_dt_spec battery_adc = ADC_DT_SPEC_GET_BY_NAME(ZEPHYR_USER_NODE, battery);
static int16_t adc_buffer;