c# (Windows IoT) - Sleep() or Delay()? -
how can write timecritic backgroundapplication windows iot in c#?
the target programm stepper motor via c# on raspberry pi 2 windows iot , visual studio 2015. prgramming via remote-debug works fine there no sleep or delay available. system.threading.thread.sleep(time) not possible.
also if implement timer time between steps not same @ every step.
it 5 steps fast - 2 - 5 steps fast - 2 - 5 steps fast - , on....
how can programm motor acting correct?
data:
motor: hsy214 - f0.8 nema8 - steppermotor
driver: a4988
we have added c# support software pwm , hardware pwm in iot-devices project. may see this c++ example of driving stepper motor using windows iot core. if necessary, may implement functionality similar thread.sleep using system.threading.tasks.task.delay.
Comments
Post a Comment