mpflaga / Arduino_Library-vs1053_for_SdFat

Arduino device library interfacing vs1053 MP3 player chip to audio stream from an Sd Card.
https://mpflaga.github.io/Arduino_Library-vs1053_for_SdFat/
Other
38 stars 13 forks source link

Add proper functions primitives in `demo.ino` #4

Closed doronbehar closed 2 years ago

mpflaga commented 6 years ago

I do not believe forward declarations are required for Arduino as the IDE compiler creates them.

doronbehar commented 6 years ago

I know but not everyone use only the IDE to compile Arduino code. I use https://github.com/sudar/Arduino-Makefile which doesn't do all the obscure preprocessing the IDE does. This change makes your code more portable for other environments.

mpflaga commented 2 years ago

This is not typical Arduino standard. I believe this could be resolved including a header file that wraps the standard INO file.