Go Down

Topic: serialGSM error in program (Read 946 times) previous topic - next topic

nstm91

i try to run send sms program in arduino 1.5.2 simulator it get error.
like

sketch_mar08d.ino:3:10: error: #include expects "FILENAME" or <FILENAME>
sketch_mar08d:4: error: 'SerialGSM' does not name a type
sketch_mar08d.ino: In function 'void setup()':
sketch_mar08d:9: error: 'cell' was not declared in this scope
sketch_mar08d.ino: In function 'void sendSMS()':
sketch_mar08d:14: error: 'cell' was not declared in this scope
sketch_mar08d.ino:3:10: error: #include expects "FILENAME" or <FILENAME>
sketch_mar08d:4: error: 'SerialGSM' does not name a type
sketch_mar08d.ino: In function 'void setup()':
sketch_mar08d:9: error: 'cell' was not declared in this scope
sketch_mar08d.ino: In function 'void sendSMS()':
sketch_mar08d:14: error: 'cell' was not declared in this scope


and also attach program sample.

AWOL

I didn't know there was a simulator, but the IDE also gives this error
Quote
gsmmessage.cpp:2:23: error: SerialGSM.h: No such file or directory
when I try to compile your sketch.
Where did you download the "SerialGSM" library from, and where did you put it?
Did you restart the IDE after installation?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PeterH

The first error message seems to be related to this piece of code:

Code: [Select]

#include <SerialGSM.h>
#include
SerialGSM cell(2,3);


Hopefully, the reason is obvious. I suggest you fix that error and try again.
I only provide help via the forum - please do not contact me for private consultancy.

Go Up