If you can, please provide a code snippet.
Does this help? https://github.com/edjubuh/ose/blob/master/libsml/SmartMotorLibrary.c
Yes, thank you