BUG: SERIAL_COM_SPEED

This forum is dedicated to software development related to MultiWii.
It is not the right place to submit a setup problem.
Software download
Post Reply
User avatar
Loosi
Posts: 63
Joined: Sat Aug 20, 2011 8:31 pm
Location: Germany (HSK)
Contact:

BUG: SERIAL_COM_SPEED

Post by Loosi »

Hi!

During setting up my APC220 transmitter for the GUI i figured out that

Code: Select all

#define SERIAL_COM_SPEED 115200 

in config.h is not working (DEV REV. 438).

the following lines has to be changed:

MultiWii.ino
Original:

Code: Select all

328: void setup() {
329:   SerialOpen(0,115200);


to:

Code: Select all

328: void setup() {
329:   SerialOpen(0,SERIAL_COM_SPEED);


Then its possible to set the baudrate in config.h and the apc220 transmitter is working fine with 57600 :D

for the guys that change the baudrate in config.h:
remember to change the baudrate in the MultiWiiConf source too!
MultiWiiConf.pde

Code: Select all

725: g_serial = new Serial(this, portPos, 57600);

ApoC
Posts: 31
Joined: Fri Feb 10, 2012 2:16 pm

Re: BUG: SERIAL_COM_SPEED

Post by ApoC »

Hey

Ive a XBEE an tested some, but i dont get it working.

Used the Flyduino Mega, did all changes from u, tested on serial 2. but its not working.

did u connected the apc220 to the FTDI port?

User avatar
Loosi
Posts: 63
Joined: Sat Aug 20, 2011 8:31 pm
Location: Germany (HSK)
Contact:

Re: BUG: SERIAL_COM_SPEED

Post by Loosi »

Hi!

Yes, i used the Rx and Tx from the FTDI Port. Dont forget to connect [Xbee]Rx to [MultiWii]Tx and [Xbee]Tx to [MultiWii]Rx

Post Reply