Show Posts
Pages: [1]
1  Community / Exhibition / Gallery / Re: Futaba SBUS reverse engineered to work with Arduino on: January 09, 2013, 02:56:40 am
Sir
I am very interested by this project.
I use the Arduino 1.0 version.
I'm not an Arduino specialist and so, I doesn't compile This like the reply 4.
I have an error like "expected constructor,destructor,or type conversion before '<' token and the line "SerialPort<0,64,64> port0;" is in Yellow.
I have had file "SerialPort.h"  from "SerialPortBeta20120106.zip"
In fact, I have a lot of error :
sketch_jan07b.cpp:1:24: error: SerialPort.h: No such file or directory
sketch_jan07b:4: error: expected constructor, destructor, or type conversion before '<' token
sketch_jan07b.cpp: In function 'void setup()':
sketch_jan07b:22: error: 'port0' was not declared in this scope
sketch_jan07b:22: error: 'SP_2_STOP_BIT' was not declared in this scope
sketch_jan07b:22: error: 'SP_EVEN_PARITY' was not declared in this scope
sketch_jan07b:22: error: 'SP_8_BIT_CHAR' was not declared in this scope
sketch_jan07b.cpp: In function 'void update_servos()':
sketch_jan07b:86: error: 'sbus_data' was not declared in this scope
sketch_jan07b:96: error: 'sbus_data' was not declared in this scope
sketch_jan07b:111: error: 'sbus_data' was not declared in this scope
sketch_jan07b:115: error: 'sbus_data' was not declared in this scope
sketch_jan07b:119: error: 'sbus_data' was not declared in this scope
sketch_jan07b:121: error: 'sbus_data' was not declared in this scope
sketch_jan07b:128: error: 'port0' was not declared in this scope
sketch_jan07b:128: error: 'sbus_data' was not declared in this scope
sketch_jan07b.cpp: In function 'void update_channels()':
sketch_jan07b:145: error: 'sbus_data' was not declared in this scope
sketch_jan07b:160: error: 'sbus_data' was not declared in this scope
sketch_jan07b:167: error: 'sbus_data' was not declared in this scope
sketch_jan07b:175: error: 'sbus_data' was not declared in this scope
sketch_jan07b:178: error: 'sbus_data' was not declared in this scope
sketch_jan07b.cpp: In function 'void feedLine()':
sketch_jan07b:183: error: 'port0' was not declared in this scope
sketch_jan07b:210: error: 'sbus_data' was not declared in this scope
Could you hepl me ?
Best regards
Marc
Pages: [1]