RomSys / amarino

Automatically exported from code.google.com/p/amarino
Other
0 stars 0 forks source link

Examples do not compile on Arduino Version 22 #12

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install Arduino Version 022
2. Try to compile examples "Multicolorlamp" or "Sensorgraph"

What version of Amarino are you using?
latest version which can be downloaded from here

Please provide any additional information below.

The Arduino-IDE outputs the following errors:
C:\Program Files\arduino-0022\libraries\MeetAndroid\MeetAndroid.cpp:
In member function 'void MeetAndroid::processCommand()':
C:\Program Files\arduino-0022\libraries\MeetAndroid\MeetAndroid.cpp:
37: error: 'Serial' was not declared in this scope 
...

Original issue reported on code.google.com by rscheubr...@gmail.com on 16 Jan 2011 at 12:49

GoogleCodeExporter commented 8 years ago

Original comment by bonifaz....@gmail.com on 17 Jan 2011 at 10:03

GoogleCodeExporter commented 8 years ago
To solve the issue, either download the new MeetAndroid library (available for 
download on this website, called MeetAndroid_3.zip) or add the following 
include statement to your MeetAndroid.cpp file (the file can be found in 
your_arduino_sketch_dir/libraries/MeetAndroid/MeetAndroid.cpp)

add this statement below the comment // Includes
#include "WProgram.h"

Original comment by bonifaz....@gmail.com on 17 Jan 2011 at 10:28

GoogleCodeExporter commented 8 years ago
Thank you for the lightning-fast fix!

Original comment by rscheubr...@gmail.com on 17 Jan 2011 at 8:43