mathertel / Radio

An Arduino library to control FM radio chips like SI4703, SI4705, RDA5807M, TEA5767.
http://mathertel.github.io/Radio
BSD 3-Clause "New" or "Revised" License
297 stars 89 forks source link

rds.attachServicenNameCallback(DisplayServiceName); #66

Closed fungreenfox closed 1 year ago

fungreenfox commented 1 year ago

This line fails after updating the radio.h library. rds.attachServicenNameCallback(DisplayServiceName);

exit status 1 'class RDSParser' has no member named 'attachServicenNameCallback'

Where is the documentation for those changes?

fungreenfox commented 1 year ago

Found some in changelog..

z34pec commented 1 year ago

Please comment more about this error. I am trying to find out why this error is present but as a newbie I am not able to fix it. Thank you :)

fungreenfox commented 11 months ago

Well.... I tried to update to newest Si4703 library, but did not have the RDS to work. It works with an older library so thats what is in use. To begin with, there was confusion about the uint8_t variables, that the logic tells me, they can easily be only assigned as int8_t. This caused a lot of trouble. Looking into the library, made me set those to uint8_t, and a lot of errors disappeared. As those variables do not seem to at any point be going below positive, it was not logic to set as unsigned. Might also be important to note, that if updating the librarys, the rdsparser should also follow same version. The script is working atm with older library, and i am not sure, what exactly called that error. I just picked an issue up, since it has been a while.