Timeline for Send Processing color data into Arduino
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 10, 2014 at 12:34 | comment | added | orionlogic |
Now it gives 'Messenger' has not been declared compile error.
|
|
| Oct 10, 2014 at 12:30 | comment | added | geometrikal |
Change "WProgram.h" to "Arduino.h" in the examples.
|
|
| Oct 10, 2014 at 12:18 | comment | added | orionlogic | I try sketch examples for Messenger and still not compiles. Now it gives several errors which starts "WProgram.h: No such file or directory". | |
| Oct 9, 2014 at 23:00 | comment | added | geometrikal |
The error means the compiler can't find the definition of the class Messenger. The fix is to make sure that Messenger library is in the right place (as described above) and to put #include "Messenger.h" near the top of you sketch.
|
|
| Oct 9, 2014 at 22:58 | comment | added | geometrikal |
The library is still good, even though the page recommends to use CmdMessenger I find that that library is more complex than for what I need. To use the library, unzip it and then copy the Messenger folder (under Firmware) into you Arduino library folder (check where it is in preferences) and restart the Arduino IDE. In the file Messenger.cpp the 7th line is #include "WProgram.h". Change this to #include "Arduino.h", as this is the new header file used by the 1.XX versions of the Arduino system.
|
|
| Oct 9, 2014 at 21:17 | comment | added | orionlogic | Thanks for the answer. I am going to try this method. I am so new to programming so excuse my noob questions. First of all, this library seems to be obsolete, can i still use this one? Second question is i do not understand the changing #include thing. i try to use your code as written and it gives 'Messenger does not name a type'. | |
| Oct 9, 2014 at 12:36 | history | answered | geometrikal | CC BY-SA 3.0 |