04-08-2017 11:32 AM
Hi I have a fairly simple question. I have some LEDs on my breadboard connected to an Arduino UNO. Red LED is turned ON when moisture level is below certain threshold and a water pump starts to run, when the moisture level is sufficent a green LED is turned ON.
I wonder how I get these LEDs transferred and shown on to the Labrview frontpanel?
04-08-2017 11:43 AM
Who wrote the code running on the arduino? Are you using linx?
04-08-2017 12:38 PM
I have mostly made the code my self in Arduino. I am already transferring measurement data (temperature, moisture,humidity light intensity) through VISA Resource---->Serial VISA block etc.
But LED is a boolean value, so a bit unsure how to transfer that?
04-08-2017 01:07 PM
You can transfer it as a number. 0=FALSE and 1=TRUE. Then convert it to a boolean use "not equal zero" from the comparison palette.