struct

MSP::Get::Analog

Inherits JSON::Serializable < MSP::Get::Command < MSP::Command < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
new(vbat : UInt8 | Nil = nil, intPowerMeterSum : UInt16 | Nil = nil, rssi : UInt16 | Nil = nil, amperage : UInt16 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Class methods

code
direction
from_slice(data : Bytes)
Source

Instance methods

amperage
Source
intPowerMeterSum
Source
rssi
Source
to_slice
Source
vbat
Source