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
adc0ushortThe sampled analog input value on ADC0.
adc1ushortThe sampled analog input value on ADC1.
attenuationLeftushortThe amplitude of the left channel controlled by ADC0.
attenuationRightushortThe amplitude of the right channel controlled by ADC0.
frequencyushortThe output frequency controlled by ADC1.