Pages: [1]   Go Down
Author Topic: simplemessagesystem example1 not compiling  (Read 526 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 208
Posts: 8821
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

it says "USE THIS INSTEAD:" http://arduino.cc/playground/Code/Messenger
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...




Logged

Pages: [1]   Go Up
Jump to: