Closed waterwin closed 4 years ago
Could this be related to the issue thatpkill fm_transmitter
gets the program stuck into a loop were it broadcast a fragment of the sound indefinitely?
I do not know. I would need to measure the signal on the pin to see that happening. But this appears not to be the case as my receiver is not picking up any signal anymore. I have seen in other code a good way to end the transmission and free up the GPIO pins,. That is in the code itself and not by killing a running program. I will look this up.
https://github.com/ChristopheJacquet/PiFmRds/blob/master/src/pi_fm_rds.c lines 242-271 might help for a clean termination
Good luck ErwinPE3ES
On Monday, January 20, 2020, 2:24:18 PM GMT+1, ldezem <notifications@github.com> wrote:
Could this be related to the issue thatpkill fm_transmitter gets the program stuck into a loop were it broadcast a fragment of the sound indefinitely?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Fixed this issue in branch https://github.com/markondej/fm_transmitter/tree/rpi4-fix
In many other programs I have seen that the program resets the state of the used GPIO when quitting the transmit.
Here it appears that the pin stays used. pi@raspberrypi:~ $ sudo raspi-gpio get 4 GPIO 4: level=0 fsel=4 alt=0 func=GPCLK0