I'm using the delay component in various places of a project, with variables permitting global changes to delay parameters.
Elusive however is the maximum value that the Delay component will accept.
I'm guessing 16-bit UINT, though need to be sure before I render all such delays in microseconds, possibly then to discover that I need to switch in different delays (us, ms, etc) based on global values.
Thank you in advance,
Brendan
Max. values in Delay component
-
- Posts: 53
- http://meble-kuchenne.info.pl
- Joined: Tue Dec 08, 2020 2:12 pm
- Has thanked: 41 times
- Been thanked: 11 times
-
- Matrix Staff
- Posts: 1449
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 203 times
- Been thanked: 341 times
Re: Max. values in Delay component
Looking at the code, the delay functions accept a 16-bit unsigned integer, so you are correct. Although you may want to check when using large values for us delays as opposed to the equivalent ms delay. In practice, a 5000us delay may give a different result to a 5ms delay, especially on slower devices.