ServoOffsetInno builder



Initialize the ServoOffsetInno class.

ServoOffsetInno is inherited from the ServoOffset class and can load offset trim files generated with the Innovati Action Editor.


ServoOffsetInno myoffset
ServoOffsetInno myoffset(filename)


  • filename: The name of the .otxt offset fine tuning file generated by the Innovati Action Editor.

If the above parameters are entered, ServoOffsetInno will automatically load the contents of the file as the initial offset trim value when the class is initialized. Note that you must place the file in the root directory of the SD card; if your 86Duino is not placed on the SD card, or if the SD card does not contain an action file, the file loading will fail.


#include <Servo86.h>
Servo myservo1;
Servo myservo2;
Servo myservo3;
// Load the servo offset fine-tuning value file named inno_offset.otxt from the SD card
ServoOffsetInno myoffset("inno_offset.otxt");
void setup()
   // Set the compensation amount of the center position error of each servo
   myoffset.setOffsets(myservo1, myservo2, myservo3);
   servoMultiRun(); // Rotate each servo (will automatically compensate for servo center position error)
void loop() {}

See also

Libraries Reference Home

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Your email address will not be published. Required fields are marked *