Servo responding the fuel gauge changes in DCS
Got a servo SG90 working, just powered off arduino since only running one - just needs one digital pin. Seems to do just fine!
//============
#include <Servo.h>#define DCSBIOS_DEFAULT_SERIAL
#include "DcsBios.h"
DcsBios::ServoOutput fuelQtyL(0x10ca, 8, 544, 2400);
void setup() { DcsBios::setup();}
void loop() { DcsBios::loop();}
Comments