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 in compiling project #1

Closed
murliswami opened this issue Aug 11, 2017 · 1 comment
Closed

Error in compiling project #1

murliswami opened this issue Aug 11, 2017 · 1 comment

Comments

@murliswami
Copy link

In file included from ...\Arduino\libraries\sim800\sim800Client.h:6:0,

             from ...\Arduino\libraries\sim800\sim800.cpp:21:

...\Arduino\libraries\sim800\sim800.h:14:24: error: 'Serial1' was not declared in this scope

#define HARDWARESERIAL Serial1

                    ^

...\Arduino\libraries\sim800\sim800.cpp:27:28: note: in expansion of macro 'HARDWARESERIAL'

HardwareSerial *modem = &HARDWARESERIAL;

                        ^

exit status 1
Error compiling for board Arduino Nano.

PS: i am beginner in Ardunio plz suggest me

@Gabriellavoura
Copy link
Owner

Try to add HardwareSerial.h on your sketch.

#include "HardwareSerial.h

See this Topic for more info.

@Gabriellavoura Gabriellavoura pinned this issue Feb 22, 2019
@Gabriellavoura Gabriellavoura unpinned this issue Feb 22, 2019
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