Hi.
I am using a Nano-10 for led illumination on a vision system. I have a pot on each of the the two two analog inputs to vary the intensity, then alternately turn on/off the two PWM outputs to create alternate flashing banks of leds. I'm using a .01s clock on each line for timing. Custom functions control the input and output.
Its working ok, but now I want to use a couple of digital inputs to change the timing for high medium low flash rate.
I'm not sure how to go about it. I could add another line with a different clock rate, but they would all count as it goes through each loop.
My attempts at using timers have not been good. Does anyone have a suggestion?
Thanks,
John