I have 30 or so custom functions that I wrote to interface over serial with some servo drives. Each one reads or writes a unique piece of data such as servoGetPositon(). These are taking up a lot of space in my screen load script and I would like to move them somewhere else to maintain readability without changing the functionality.
I am not a programmer so the phrasing I'm going to use is probably wrong, but is there a way to save all these functions in a "library file" and "include" this at the top of the screen load script? something like #include "servoScript.h" from C++? Does Mach/LUA support this?
Thanks!