Go Down

Topic: simplemessagesystem example1 not compiling (Read 577 times) previous topic - next topic

lofidisaster

Hi all, this is a newbie question:

I'm trying to comunicate an Arduino Uno with max/msp, and i can't compile de sketch onto the arduino, i'm using arduino 1.0
it says:

SimpleMessageSystem_example_1.cpp: In function 'void loop()':
SimpleMessageSystem_example_1.pde:-1: error: 'messageBuild' was not declared in this scope
SimpleMessageSystem_example_1.pde:-1: error: 'messageGetChar' was not declared in this scope
SimpleMessageSystem_example_1.cpp: In function 'void readpins()':
SimpleMessageSystem_example_1.pde:-1: error: 'messageGetChar' was not declared in this scope
SimpleMessageSystem_example_1.pde:-1: error: 'messageSendChar' was not declared in this scope
SimpleMessageSystem_example_1.pde:-1: error: 'messageSendInt' was not declared in this scope
SimpleMessageSystem_example_1.pde:-1: error: 'messageEnd' was not declared in this scope
SimpleMessageSystem_example_1.pde:-1: error: 'messageSendInt' was not declared in this scope
SimpleMessageSystem_example_1.cpp: In function 'void writepin()':
SimpleMessageSystem_example_1.pde:-1: error: 'messageGetChar' was not declared in this scope
SimpleMessageSystem_example_1.pde:-1: error: 'messageGetInt' was not declared in this scope

any ideas of what's happening?
I got the simplemessagesystem library in libraries, and the sketch shows up in the examples tab.

Thanks in advance to anyone that can help!

johnwasser

At the top of this page: http://arduino.cc/playground/Code/SimpleMessageSystem

it says "USE THIS INSTEAD:" http://arduino.cc/playground/Code/Messenger
Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

lofidisaster

Thanks for your answer!

Yep, and then use cmd messenger instead!
It doesn't compile as well... soi found an max patch example that looked allright with sms so i gave it a try.
But you're right, now back to cmdmessenger...





Go Up