2
edits
(Add updated changes and some potential pitfalls) |
|||
Line 77: | Line 77: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== Make Flightgear | === Make Flightgear read serial data === | ||
Find port where Arduino is connected. Look | Find the port where the Arduino is connected. Look for Arduino IDE Tools... Serial Port... Should be something like ttyACM0. (Note: Scott Bouch tutorial uses FGRUN which is not used anymore) Start Flightgear and paste following code to Settings... Additional settings... when starting Flightgear. Change serial port to correct port name. Note that the ".xml" extension for the protocol file should be omitted. | ||
<syntaxhighlight> | <syntaxhighlight> | ||
--generic=serial,in,30,/dev/ttyACM0,9600,hardware | --generic=serial,in,30,/dev/ttyACM0,9600,hardware | ||
</syntaxhighlight> | </syntaxhighlight> | ||
edits