Skip to content

Some RDS fixes #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 12, 2019
Merged

Some RDS fixes #7

merged 2 commits into from
Jul 12, 2019

Conversation

caternuson
Copy link
Contributor

Some fixes for #2. The _BUFFER gets overwritten with response so must be rebuilt each time in loop. This fixes station and same fix was applied to rds_buffer. However, I could never get the contents of rds_buffer to show up anywhere. Same thing testing with Arduino version. The documentation on that is...poor. The reference for the TX_RDS_BUFF command does not match what is shown in the programming example in AN332 Si47XX Programming Guide.

Adafruit CircuitPython 4.0.2 on 2019-06-27; Adafruit ItsyBitsy M4 Express with samd51g19
>>> import board, digitalio, adafruit_si4713
>>> si_reset = digitalio.DigitalInOut(board.D10)
>>> si4713 = adafruit_si4713.SI4713(board.I2C(), reset=si_reset, timeout_s=0.5)
>>> si4713.tx_frequency_khz = 87500
>>> si4713.tx_power = 115
>>> si4713.configure_rds(0xADAF, station=b'shoegaze4ever', rds_buffer=b'boots and pants')
>>> 

rds_test

@ladyada
Copy link
Member

ladyada commented Jul 12, 2019

can merge after travis happy

@caternuson caternuson merged commit 71c5a54 into adafruit:master Jul 12, 2019
@ladyada
Copy link
Member

ladyada commented Jul 12, 2019

epic, thanks!

@caternuson caternuson mentioned this pull request Jul 12, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants