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

SERIALIO issue on receiver code #13

Open
mcles011 opened this issue Dec 1, 2018 · 1 comment
Open

SERIALIO issue on receiver code #13

mcles011 opened this issue Dec 1, 2018 · 1 comment

Comments

@mcles011
Copy link

mcles011 commented Dec 1, 2018

Arduino: 1.8.5 (Windows 10), Board: "Arduino Nano, ATmega328"

F:\Downloads\nRF24-Esk8-Remote-master (1)\nRF24-Esk8-Remote-master\receiver\receiver.ino: In function 'void setup()':

receiver:29: error: 'SERIALIO' was not declared in this scope

SERIALIO.begin(115200);

^

exit status 1
'SERIALIO' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@michalhorvath
Copy link

You can solve this issue by defining SERIALIO (solved by Deakbannok on esk8 forum). Change your code to:

#define SERIALIO Serial
void setup(){
    SetSerialPort(&SERIALIO);
    SERIALIO.begin(115200);

Or you can use development branch instead of master branch that doesn't have this issue.

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

2 participants