rudek Posted June 30, 2022 Posted June 30, 2022 hi all i have a problem with sg90 servo its keep continuous rotation left or right on trim f-16 my code //#define DCSBIOS_DEFAULT_SERIAL #define DCSBIOS_IRQ_SERIAL #include <Servo.h> #include "DcsBios.h" /* paste code snippets from the reference documentation here */ void onRolltrimindChange(unsigned int newValue) { /* your code here */ } DcsBios::ServoOutput rolltrimind(0x44c6,3, 544, 2400); void setup() { DcsBios::setup(); } void loop() { DcsBios::loop(); }
Recommended Posts