Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
core-model
/
org.meshtastic.core.model.util
/
withAdcVoltage
with
Adc
Voltage
fun
EnvironmentMetrics
.
withAdcVoltage
(
channel
:
Int
,
value
:
Float
?
)
:
EnvironmentMetrics
(
source
)
Returns a copy with ADC
channel
set to
value
; an out-of-range
channel
is a no-op.