mirror of
https://github.com/m5stack/ESP-Claw.git
synced 2026-05-20 11:51:49 -07:00
feat(lua_adc): change func name to get_gpio
This commit is contained in:
@@ -9,7 +9,7 @@ local ch = adc.new(ADC_GPIO)
|
||||
|
||||
print(string.format(
|
||||
"[adc_demo] reading gpio=%d for %d samples...",
|
||||
ch:gpio(),
|
||||
ch:get_gpio(),
|
||||
SAMPLE_COUNT
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user