Threads in LC
bobsneidar at iotecdigital.com
Thu Dec 31 12:22:00 EST 2020
You can also try using callbacks, although the callback will not get processed until the next idle message (script execution termination or wait with messages).
On Dec 31, 2020, at 8:53 AM, Rick Harrison via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:
What version of Raspberry PI are you using?
If you are using an older version of Raspberry PI just replacing it
with a newer version might be your best work around. The older
PI’s are pretty slow. Have you looked into Banana PI for instance?
While LC isn’t multi-threaded there may be a work around which
could make it behave as though it was. Have you tried Send in Time?
How often are you telling your stepper motor to run? Once in every
10 milliseconds or once in every 20 milliseconds etc?
More information about the use-livecode