[riot-notifications] [RIOT-OS/RIOT] drivers/dfplayer: New driver for the DFPlayer Mini MP3 player (#12271)
notifications at github.com
Mon Sep 30 14:05:49 CEST 2019
> The main difference I could find is code size, the driver in this PR takes ~1300 byte ROM, while mine takes ~700 (both @ nrf52dk). The question is, if this is due to some additional features or maybe there is room for improvement.
The difference between the two drivers seem to be mainly that the driver in this PR does error handling, has some workarounds for hardware bugs, and has a more verbose and easier to use callback interface. I currently have two different DFPlayer versions. One works relatively fine with sending commands as fire and forget, so you 700 Bytes version would work there. But for the other skipping error handling is just not going to work.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications