save()
Description
Saves a user-defined robot motion frame (i.e., the positions[] array) to the specified file.
Syntax
servoframe.save(filename)
Parameters
servoFrame
: A variable of type AIServoFrame
.
filename
: The name of the file. Please note that files are currently only saved to the root directory of an SD card. If your 86Duino does not have an SD card, the save will fail.
Return
true: The file was saved successfully.
false: The file failed to be saved.
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
|
See also
- positions[]
- setPostions()
- load()
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.