05-16-2019 01:41 AM
Hi
I need to control 3 Led with Labview over Arduino.But i cannot figure out i made 1 Led control how can i add 2 more Led on this Arduino code and Labview vi.
Thank you
My Arduino Code.
int led;
void setup() {
Serial.begin(9600);
pinMode(13, OUTPUT);
}
void loop() {
if(Serial.available ()> 0)
{
led = Serial.read ();
if (led == '1')
{
digitalWrite (13,1);
}
else if (led == '0')
{
digitalWrite (13,0);
}
}
}
05-16-2019 01:59 AM
Hi OmrFV,
you need to define more/other commands to send from LabVIEW to your Arduino.
You might: