Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #1

Open
tobitba opened this issue Nov 14, 2020 · 0 comments
Open

Error #1

tobitba opened this issue Nov 14, 2020 · 0 comments

Comments

@tobitba
Copy link

tobitba commented Nov 14, 2020

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant