ServoFramePololu builder



Initialization of the ServoFramePololu category.

ServoFramePololu is inherited from the ServoFrame category and can load robotic frames created with the Pololu action editor Maestro Control Center.


ServoFramePololu myframe
ServoFramePololu myframe(filename, sequence_name, frame_name)


  • filename: the name of the action frame file stored by Maestro Control Center.
  • sequence_name: the name of the Sequence to which the action frame belongs (available in Maestro Control Center).
  • frame_name: the name of the action frame (available in Maestro Control Center).

If the above three parameters are entered, ServoFramePololu will automatically load the specified action frame in the file as the initial action frame 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 the action frame file, then the file loading will fail.




#include <Servo86.h>
Servo myservo0;
Servo myservo1;
Servo myservo2;
// Load "Frame 0" of "Sequence 0" in the Pololu action frame file
ServoFramePololu myframe("mypololu.txt", "Sequence 0", "Frame 0");
void setup()
   myframe.playPositions(myservo0, myservo1, myservo2); // play action frames
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 *

Scroll to Top