You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I´m tring to use this arduino library and Im having some issues with it. When I try to use the playVoice comand i get this error "cannot call member function 'void WTV020SD16P::playVoice(unsigned int)' without object".
I´m new at programing so I´m probably missing some lines in the code, but I dont know how I could make it work.
This is my code `#include <WTV020SD16P.h>
WTV020SD16P::WTV020SD16P(int clockPin,int dataPin,int busyPin);
void playVoice(unsigned int voiceNumber);
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
WTV020SD16P::playVoice(1);
}
}
}`
Thanks!
The text was updated successfully, but these errors were encountered:
Hi! I´m tring to use this arduino library and Im having some issues with it. When I try to use the playVoice comand i get this error "cannot call member function 'void WTV020SD16P::playVoice(unsigned int)' without object".
I´m new at programing so I´m probably missing some lines in the code, but I dont know how I could make it work.
This is my code `#include <WTV020SD16P.h>
WTV020SD16P::WTV020SD16P(int clockPin,int dataPin,int busyPin);
void playVoice(unsigned int voiceNumber);
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
WTV020SD16P::playVoice(1);
}
}
}`
Thanks!
The text was updated successfully, but these errors were encountered: