Class Tea5767
- Namespace
- Iot.Device.RadioReceiver
- Assembly
- Iot.Device.RadioReceiver.dll
FM Stereo Radio TEA5767.
public class Tea5767 : RadioReceiverBase
- Inheritance
-
Tea5767
- Inherited Members
Constructors
Tea5767(I2cDevice, FrequencyRange, Frequency)
Initializes a new instance of the Tea5767 class.
public Tea5767(I2cDevice i2cDevice, FrequencyRange frequencyRange, Frequency frequency)
Parameters
i2cDevice
I2cDeviceThe I2C device used for communication.
frequencyRange
FrequencyRangeFM frequency range.
frequency
FrequencyFM frequency.
Fields
DefaultI2cAddress
TEA5767 default I2C address.
public const byte DefaultI2cAddress = 96
Field Value
Properties
Frequency
TEA5767 FM frequency.
public override Frequency Frequency { get; set; }
Property Value
FrequencyRange
Gets or sets TEA5767 FM frequency range.
public FrequencyRange FrequencyRange { get; set; }
Property Value
Mute
Gets or sets a value indicating whether TEA5767 is muted.
public bool Mute { get; set; }
Property Value
Standby
Gets or sets a value indicating whether TEA5767 is in standby.
public bool Standby { get; set; }
Property Value
Methods
Dispose(bool)
Releases the unmanaged resources used by the RadioReceiverBase and optionally releases the managed resources.
protected override void Dispose(bool disposing)
Parameters
disposing
boolTrue to release both managed and unmanaged resources; false to release only unmanaged resources.
Search(SearchDirection, int)
Automatic search for effective radio.
public void Search(SearchDirection searchDirection = SearchDirection.Up, int stopLevel = 3)
Parameters
searchDirection
SearchDirectionSearch up or down from the current frequency.
stopLevel
intStop search condition (range from 1 to 3).