This seems to be time critical, so if a pauseus is included the other task won't continue.
What I actually want to do is this: (see picture)(strongly abbreviated)
Down means LED is off, Up means LED is on. The x-axis represents time.
So it is a LED light - fader.
So time could be 100ms meaning the LED is being switched on successively in a repeating manner till it will have taken 50ms then the process is reversed amounting to a total of 100ms.
Can you suggest a code for this?




Bookmarks