analogUpdate and digitalUpdate

userHead h0bbit 2017-07-17 19:06:21 1882 Views1 Replies
Hi,

I am having some difficulty trying to understand the concept of the analogUpdate and digitalUpdate and also having problem applying it in my project. Say for example, I am driving a stepper motor and finding the home position, I will be incrementing/decrementing the step and at each step i need to check the condition of my home sensor whether it toggles or remains the same. Using 10msec thread delay at each step seems slow already but i just cant make it to update fast.
Does anybody have a sample program using this Lattepanda Firmata in C# with Windows Form Application utilizing this analogUpdate/digitalUpdate in an effective manner?

tx,
h0bbit