12-17-2014 08:23 AM
Hello,
I have the vi in the appendix. So I can dim an LED on the Arduino uno.
However, I want the LED flashes at a certain clock. The LED should light after one second for 0.2 seconds.
How can I achieve this? Is it possible to swich between the states, flashing and duration bright?
Thank you for your Help.
12-17-2014 07:28 PM
You cannot do that with PWM because the frequency that you would require (less that 1 Hz) is not possible. Unfortunately, I have doubts that you would be able to do it reliably in LabVIEW (but that is your best chance) especially if you plan on adding more functionality to your VI.
It would be better if you could describe what you are actually trying to do and why.
Also, FYI, you should consider switching to LINX if possible.
12-18-2014 08:25 AM
12-20-2014 12:06 PM
It depends on the frequency of the flash that you want to use bcause you can dim the LED with PWM but you can't also flash it using PWM. You would need to do the "flashing" (lower frequency modulation) in LabVIEW (but it can only do it so fast).
01-23-2015 11:45 AM
Nathan,
Maybe you could bit-bang the PWM, therefore having control of the frequency. Not sure what else you have to do with the Arduino. The disadvantges of course would be robbing the Arduino of computing power and a limited upper frequency of the PWM.