Added AGC setting

Note: Flash data will be reset!
This commit is contained in:
Sjef Verhoeven PE5PVB
2024-02-19 20:55:07 +01:00
parent 69058e1d0d
commit 1fb7d5a893
10 changed files with 160 additions and 82 deletions

View File

@@ -254,10 +254,11 @@ void TEF6686::setUnMute() {
}
void TEF6686::setAGC(uint8_t agc) {
if (agc == 0) devTEF_Radio_Set_RFAGC(920);
if (agc == 1) devTEF_Radio_Set_RFAGC(900);
if (agc == 2) devTEF_Radio_Set_RFAGC(870);
if (agc == 3) devTEF_Radio_Set_RFAGC(840);
devTEF_Radio_Set_RFAGC(agc);
}
void TEF6686::setAMAGC(uint8_t agc) {
devTEF_Radio_Set_AMRFAGC(agc);
}
void TEF6686::setDeemphasis(uint8_t timeconstant) {