Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Starts search from beginning or from end.
byte TEA5767N::startsSearchFromBeginning() {
setSearchUp();
return startsSearchFrom(87.0);
}
byte TEA5767N::startsSearchFromEnd() {
setSearchDown();
return startsSearchFrom(108.0);
}
byte TEA5767N::startsSearchFrom(float frequency) {
selectFrequency(frequency);
return searchNext();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment