pu2clr / RDA5807

Arduino Library for SINGLE-CHIP BROADCAST FM RADIO TUNER RDA5807
MIT License
94 stars 16 forks source link

Add new capabilities #8

Closed GlebDen closed 1 year ago

GlebDen commented 1 year ago

Hello. Is it possible to add functions such as: getMute (); setSoftmute(); getSoftmute(); ??? something like: RDA5807.h -> bool getMute(); RDA5807.cpp -> bool RDA5807::getMute() { getStatus(REG0A); return reg02->refined.DMUTE; } Sorry, I'm not a programmer. It would help a lot. Thank you.

pu2clr commented 1 year ago

You already have setSoftmute() in the library. Now you have isMuted() and isSoftmuted(). They return true if muted and soft muted respectively.

GlebDen commented 1 year ago

Hello. Sorry to bother you but I don't see isMuted() and isSoftmuted() in source code.

pu2clr commented 1 year ago

Ok. It was implemented after your message. Thanks.