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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -