diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-21 22:01:43 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-21 22:01:43 +0100 |
commit | bf974ab871e3be2eabb46be61e1934b8237e16a8 (patch) | |
tree | d2f04754358fed8d276b1336b4917bfd392d17f3 /include | |
parent | 56dc720dffcc4639e0bb5492c6101f3e2aa9b5ad (diff) |
arduino nano adc: add getPin_mV function
Diffstat (limited to 'include')
-rw-r--r-- | include/arch/arduino-nano/driver/adc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/arduino-nano/driver/adc.h b/include/arch/arduino-nano/driver/adc.h index 30ac338..c89f915 100644 --- a/include/arch/arduino-nano/driver/adc.h +++ b/include/arch/arduino-nano/driver/adc.h @@ -17,6 +17,7 @@ class AVRADC { int16_t getTemp_mdegC(int16_t offset = 205); uint16_t getVCC_mV(); + uint16_t getPin_mV(uint8_t pin, uint16_t avcc = 0); }; extern AVRADC adc; |