DcsBiosSerialDevice - Gadroc/dcs-bios-arduino GitHub Wiki

This object implements the direct serial protocol. This protocol is a direct retransmission of the data contained with in the UDP packets from DCS-BIOS. This is the default protcol used by the original DCS-BIOS arduino library. Sketches using DcsBiosSerialDevice interface directly with the PC via an RS-232 serial port.


DcsBiosSerialDevice dcsBiosDevice(&Serial);

Define an object of DcsBiosSerialDevice and pass it the address of the serial port stream it should use to talke to the PC. Be sure to initialize the Serial port to the right baud rate in your setup() method.