Constructor AnalogDataPayload
AnalogDataPayload(ushort, ushort, ushort, ushort, ushort)
Initializes a new instance of the AnalogDataPayload structure.
public AnalogDataPayload(ushort adc0, ushort adc1, ushort attenuationLeft, ushort attenuationRight, ushort frequency)
Parameters
adc0
ushortThe sampled analog input value on ADC0.
adc1
ushortThe sampled analog input value on ADC1.
attenuationLeft
ushortThe amplitude of the left channel controlled by ADC0.
attenuationRight
ushortThe amplitude of the right channel controlled by ADC0.
frequency
ushortThe output frequency controlled by ADC1.