Howto:Use Arduino with FlightGear: Difference between revisions

→‎Testing serial output: Warning → Tip – Since there are no software crashes, broken hardware or injuries
(Some more)
(→‎Testing serial output: Warning → Tip – Since there are no software crashes, broken hardware or injuries)
Line 131: Line 131:
The first number is switch data, so it's either 0 (switch off) or 1 (switch on). After the "," mark is our throttle data. First it's 0.00, which meaning idle throttle and then potentiometer is gradually turned until it reaches 0.99.
The first number is switch data, so it's either 0 (switch off) or 1 (switch on). After the "," mark is our throttle data. First it's 0.00, which meaning idle throttle and then potentiometer is gradually turned until it reaches 0.99.


{{Warning|Remember to '''unplug Arduino's USB cable and plug it back''' in because Flightgear won't be able to read serial without doing this! You have to do this every time after you use Arduino IDE.}}
{{tip|Remember to '''unplug Arduino's USB cable and plug it back'''.
 
FlightGear will not be able to read serial without doing this!
 
You have to do this every time after you use the Arduino IDE.}}


==== Start FlightGear ====
==== Start FlightGear ====