Saves the contents of the positions[] array as an action frame file that can be loaded by the ServoFrame.



  • myframe: the object of ServoFrameVstone type.
  • filename: the name of the action frame file. Note: The file will be saved to the root directory of the SD card. If your 86Duino is not inserted into the SD card, the storage will fail.


  • true: The file was saved successfully.
  • false: File saving failed.


#include <Servo86.h>
ServoFrameVstone myframe;
void setup()
   myframe.positions[0] = 1800; // set the frame content
   myframe.positions[1] = 1300;
   myframe.positions[2] = 2000;"frm0.txt"); // save the motion frame to "frm0.txt" in the root directory of the SD card
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

Scroll to Top