dbfmpi——树莓派豆瓣电台fm发射器

1、使用前需要安装mpg123

sudo apt-get install mgp123

2、默认调频97.0,可在config.py内修改

3、GPIO4连接导线作为发射天线

4、运行

sudo python fmpi.py

参考项目:

DoubanFM-CLI https://github.com/zztczcx/DoubanFM-CLI

fmpi https://github.com/ma6174/fmpi

PS:目前的代码就是以上两个项目的简单整合,各种不稳定是肯定的。

项目地址:https://github.com/qtsharp/dbfmpi

原文地址:https://www.cnblogs.com/catmelo/p/3119569.html