API update

Removed ASCII converter, since it was not working ;-)
Hopefully fixed the CT when time is at midnight.
Added option to hide RDS errors:
showrdserrors = true Do show always
showrdserrors = false Only show errorless RDS
This commit is contained in:
Sjef Verhoeven PE5PVB
2023-06-03 13:15:22 +02:00
parent 825cc68339
commit ecd4bb4702
6 changed files with 67617 additions and 30 deletions
+2 -3
View File
@@ -54,7 +54,7 @@ class TEF6686 {
public:
af_ af[50];
rds_ rds;
bool readRDS(void);
bool readRDS(bool showrdserrors);
void SetFreq(uint16_t frequency);
void SetFreqAM(uint16_t frequency);
bool getProcessing(uint16_t &highcut, uint16_t &stereo, uint16_t &sthiblend, uint8_t &stband_1, uint8_t &stband_2, uint8_t &stband_3, uint8_t &stband_4);
@@ -97,8 +97,7 @@ class TEF6686 {
void tone(uint16_t time, int16_t amplitude, uint16_t frequency);
private:
uint8_t ascii_converter (uint8_t src);
uint16_t rdsTimeOut = 32768;
uint16_t rdsTimeOut = 32768;
uint8_t ps_process;
uint8_t rt_process;
char ps_buffer[9];