| aMotion_SaveParameters | Index |
Definition:
Parameters:
| channel | - | Motion control channel |
Return Value:
Description:
This routine saves the current configuration for a motion control channel to the EEPROM See the cmdMO_SAV documentation for details.
A defined value may be used to indicate that the save operation should be applied to all channels.
| aMOTION_RAMP_CHANNEL_ALL | 0xFF | Save configuration for all channels |
Example:
#include <aMotion.tea>
aMotion_SaveParameters(0);
This would save the current settings for motion control channel 0 to the EEPROM.
#include <aMotion.tea>
aMotion_SaveParameters(aMOTION_RAMP_CHANNEL_ALL);
This would save the current settings for all motion control channels to the EEPROM.
Related: