Hi,
I get a error when verifying my arduino file
The error:
heli_koos_numbritega:604:19: error: request for member 'isPlaying' in 'tmrpcm', which is of non-class type 'int'
if (!tmrpcm.isPlaying()) {
^
exit status 1
request for member 'speakerPin' in 'tmrpcm', which is of non-class type 'int'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
You are missing the #include for the TMRpcm library and the proper constructor for a TMRpcm object. Also the SD library will not work without the SPI library. See the examples in the TMRpcm and SD libraries.
The error now is Arduino: 1.8.6 Hourly Build 2018/04/19 10:37 (Windows 7), Board: "Arduino/Genuino Uno"
C:\Users\Suici\Desktop\heli_koos_numbritega\heli_koos_numbritega.ino:6:69: fatal error: TMRpcm.h: No such file or directory
#include <TMRpcm.h> // also need to include this library...
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.