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

'Serial' was not declared in this scope #1

Open
fsandblom opened this issue Feb 27, 2011 · 2 comments
Open

'Serial' was not declared in this scope #1

fsandblom opened this issue Feb 27, 2011 · 2 comments

Comments

@fsandblom
Copy link

While trying to upload the FiveD_Gcode_Interperter to my Ardunio (AT mega 1280) I recieve the "error" message "'Serial' was not declared in this scope" with the following lines ( see below):

What am I doing wrong?

In file included from FiveD_GCode_Interpreter.cpp:26:
extruder.h: In member function 'void extruder::temperature_error()':
extruder.h:104: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void setup()':
FiveD_GCode_Interpreter:133: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'bool get_and_do_command()':
process_g_code:137: error: 'Serial' was not declared in this scope
process_g_code:173: error: 'Serial' was not declared in this scope
process_g_code:186: error: 'Serial' was not declared in this scope
process_g_code:190: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'bool process_string(char*, int)':
process_g_code:265: error: 'Serial' was not declared in this scope
process_g_code:281: error: 'Serial' was not declared in this scope
process_g_code:282: error: 'Serial' was not declared in this scope
process_g_code:294: error: 'Serial' was not declared in this scope
process_g_code:295: error: 'Serial' was not declared in this scope
process_g_code:447: error: 'Serial' was not declared in this scope
process_g_code:512: error: 'Serial' was not declared in this scope
FiveD_GCode_Interpreter.cpp: In function 'void FlushSerialRequestResend()':
process_g_code:662: error: 'Serial' was not declared in this scope

The line

  Serial.print("E: ");

is highlighted in the "extruder.h" block as well.....

Best Regards
Fredrik Sandblom

@jglauche
Copy link
Owner

Try with the Arduino 0021 software, the latest one doesn't work.

@fsandblom
Copy link
Author

Thanx a milion Joaz! You absolutely rock! Everything uploaded - now I can continue to finalize my Shapercube! :-D

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