elechouse / VoiceRecognitionV3

Arduino library for elechouse Voice Recognition V3 module
79 stars 49 forks source link

ISSUE WITH LIBRARY <avr/pgmspace.h> #26

Open valentinopign opened 1 year ago

valentinopign commented 1 year ago

I am using arduino ide with an esp and when it comes to compile the code I get the following library error. Look for the library and in theory it is already installed in the arduino, apparently the problem is with the link of the library with the voice module library In file included from C:\Users\"usuario"\AppData\Local\Temp.arduinoIDE-unsaved2023516-14332-12m1j05.p5ym\vr_sample_train\vr_sample_train.ino:28: c:\Users\"usuario"\Documents\Arduino\libraries\VoiceRecognitionV3-master/VoiceRecognitionV3.h:39:10: fatal error: avr/pgmspace.h: No such file or directory

include <avr/pgmspace.h>

      ^~~~~~~~~~~~~~~~

compilation terminated.

exit status 1

Compilation error: exit status 1 Thanks.