This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
antenna switch, sound volume control, improved spectral scan
- Loading branch information
Showing
4 changed files
with
204 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
void align(uint32_t); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
void align(uint32_t freq) | ||
{ | ||
// alignment of the antenna circuit | ||
// these values are individual for each tuner! | ||
|
||
if(freq>=107300) | ||
DAA = 52; | ||
else if(freq>=104500) | ||
DAA = 53; | ||
else if(freq>=100400) | ||
DAA = 54; | ||
else if(freq>=97500) | ||
DAA = 55; | ||
else if(freq>=95600) | ||
DAA = 56; | ||
else if(freq>=92900) | ||
DAA = 57; | ||
else if(freq>=90500) | ||
DAA = 58; | ||
else if(freq>=87800) | ||
DAA = 59; | ||
else if(freq>=87000) | ||
DAA = 60; | ||
else if(freq>=85000) | ||
DAA = 61; | ||
else if(freq>=84000) | ||
DAA = 62; | ||
else if(freq>=83000) | ||
DAA = 63; | ||
else if(freq>=78000) | ||
DAA = 64; | ||
else if(freq>=76000) | ||
DAA = 65; | ||
else if(freq>=74000) | ||
DAA = 66; | ||
else if(freq>=73000) | ||
DAA = 67; | ||
else if(freq>=70000) | ||
DAA = 69; | ||
else | ||
DAA = 70; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.