No announcement yet.

delay function

  • Filter
  • Time
  • Show
Clear All
new posts

  • meldavia

    If you need really accurate timing it is not possible using timer functions,
    however, you could always just use a while loop as a delay which will give reasonable
    results, however, due to the other services taking place for
    timer updates and touch scanning there will always be an inherent jitter
    which may cause problems if accuracy is important. A bit of experimentation
    would be in order to see if that is a suitable method.

    Leave a comment:

  • shaneal
    started a topic delay function

    delay function

    I was wondering if there is a way to pause in microseconds within 4dGL? I did not find anything in the docs, but I may have missed it. I am working on a Half Duplex UART TTL and need to delay the direction pin by 400 microseconds to wait to the data to transmit.
    Thank you