ADC Value icon ADC Value Display ADC port voltage and 0-255 linear values (0-3.3/5V); configurable board/port, units, multiplier and sample interval. Try it →
United Kingdom
Asked — Edited

Set Timing On Digital Ports

Hi Guys,

Having a good time working on my LED Array project. Thanks for all the help so far.

I was wondering if its possible to set the time a digital port stays 'true' before returning to 'false'. E.g. ' true' for 0.5 of a second before reverting to 'false'.

I noticed that in ARC there is control you can add to set the read time of a digital port. Is there any code in the C# SDK that can do the same thing, or any other method using C#?

Thanks

danUK


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#1  

The time you are referring to is a min request time. It prevents too many requests from flooding the communication channel. Think of it as a safety net.

What you'd like to do is use a timer, or timers to hold the values for a specified time. That would be up to your program.