Good morning,
I'm currently working on a project with LabVIEW and Arduino, and I need help implementing a specific feature. My goal is to read the value of a potentiometer plugged into Arduino using LabVIEW and then light up different LEDs based on that value.
More specifically, here is what I want to achieve:
Read the value of the potentiometer connected to Arduino from LabVIEW.
If the value read is greater than or equal to 3, turn on an LED connected to pin 7 of the Arduino.
Otherwise, if the value is less than 3, turn on another LED connected to pin 8 of the Arduino.
Being a beginner, I am asking for your advice and suggestions to improve the structure of my code, in particular by using the LabVIEW case structure effectively.
I thank you in advance for any help you can give me.