|
Thanks for the help I am making some progress. I have got the slave communicating with a master using the SimpleSlaveModbus example. When I try to use the code from the Android/Arduino project there is an error on line 34. I have tried to find the problem from the reference but no solution as yet.
sketch_feb09a.ino: In function 'void setup()': sketch_feb09a:34: error: expected `;' before 'pinMode' sketch_feb09a:34: error: expected `)' before ';' token sketch_feb09a.ino: At global scope: sketch_feb09a:38: error: expected constructor, destructor, or type conversion before '(' token sketch_feb09a:39: error: expected constructor, destructor, or type conversion before '(' token sketch_feb09a:40: error: expected constructor, destructor, or type conversion before '(' token sketch_feb09a:41: error: expected constructor, destructor, or type conversion before '(' token sketch_feb09a:44: error: expected constructor, destructor, or type conversion before '(' token sketch_feb09a:47: error: expected constructor, destructor, or type conversion before '(' token sketch_feb09a:50: error: expected unqualified-id before 'for' sketch_feb09a:50: error: expected constructor, destructor, or type conversion before '<' token sketch_feb09a:50: error: expected constructor, destructor, or type conversion before '++' token sketch_feb09a:53: error: expected declaration before '}' token
|