PU2CLR RDA5807 Arduino Library 1.1.9
Arduino Library for RDA5807 Devices - By Ricardo Lima Caratti
|
Functions | |
bool | RDA5807::isSoftmuted () |
Gets the softmute status. | |
bool | RDA5807::getBass () |
Gets Bass Boost. | |
void | RDA5807::setLedStereoIndicator (bool value=true) |
Sets the system to use a LED to indicate Stereo or Mono. | |
bool | RDA5807::isMuted () |
Gets Audio Mute Status. | |
bool | RDA5807::getMute () |
Gets Audio Mute Status. Same isMuted. | |
bool | RDA5807::isAudioOutputHighImpedance () |
Gets true if the output audio impedance is high. | |
void | RDA5807::setSoftmute (bool value) |
Sets Soft Mute Enable or disable. | |
void | RDA5807::setMute (bool value) |
Sets Audio mute or unmute. | |
void | RDA5807::setAudioOutputHighImpedance (bool value) |
Sets audio output impedance high ow low. | |
void | RDA5807::setMono (bool value) |
Sets audio Mono or stereo. | |
void | RDA5807::setBass (bool value) |
Sets Bass Boost. | |
bool | RDA5807::isStereo () |
Gets the current Stereo status. | |
void | RDA5807::setVolume (uint8_t value) |
Sets the audio volume level. | |
uint8_t | RDA5807::getVolume () |
Gets the current audio volume level. | |
void | RDA5807::setVolumeUp () |
Increments the audio volume. | |
void | RDA5807::setVolumeDown () |
Decrements the audio volume. | |
|
inline |
Gets Bass Boost.
|
inline |
Gets Audio Mute Status. Same isMuted.
uint8_t RDA5807::getVolume | ( | ) |
Gets the current audio volume level.
|
inline |
Gets true if the output audio impedance is high.
|
inline |
Gets Audio Mute Status.
|
inline |
Gets the softmute status.
bool RDA5807::isStereo | ( | ) |
Gets the current Stereo status.
void RDA5807::setAudioOutputHighImpedance | ( | bool | value | ) |
Sets audio output impedance high ow low.
Useful to setup high impedance headphones
value | TRUE = High; FALSE = Low |
void RDA5807::setBass | ( | bool | value | ) |
Sets Bass Boost.
value | FALSE = Disable; TRUE = Enable |
|
inline |
Sets the system to use a LED to indicate Stereo or Mono.
Call this function to setup the GPIO3 of the RDA5807FP (pin 15) to turn a LED on or OFF.
When Stereo, the GPIO3 is HIGH.
value | true or false. |
void RDA5807::setMono | ( | bool | value | ) |
Sets audio Mono or stereo.
value | TRUE = Mono; FALSE force stereo |
void RDA5807::setMute | ( | bool | value | ) |
Sets Audio mute or unmute.
value | TRUE = mute; FALSE = unmute |
void RDA5807::setSoftmute | ( | bool | value | ) |
Sets Soft Mute Enable or disable.
value | true = enable; false=disable |
void RDA5807::setVolume | ( | uint8_t | value | ) |
Sets the audio volume level.
You can use values between 0 and 15.
value | (from 0 to 15) |
void RDA5807::setVolumeDown | ( | ) |
Decrements the audio volume.
void RDA5807::setVolumeUp | ( | ) |
Increments the audio volume.