How to program arduino uno with commands through serial communication?

:o

(deleted)

File:Upload, starts serial download process from the PC.

Perhaps you ment controlling your program with commands through serial monitor?

Look at built-in examples like this

I explain . I have to create a code in labview. Where I can adjust the frecuency of led "L" of arduino uno. you know how send commands through seria communication serial USB without use the app. Arduino.exe

@leugim, please address your questions to the forum, not the moderators.

(deleted)

I am not familiar with labview, but I assume it not too different from processing when it comes to send data over serial port. See this video https://www.youtube.com/watch?v=g0pSfyXOXj8&t

:) :Thanks to everyone. I have installed LINX it is a toolkit of NI. I don't still have a clear way to do the following

1 step. Run this code const int ledPin = LED_BUILTIN; int ledState = LOW; unsigned long previousMillis = 0; const long interval = 1000; void setup() { pinMode(ledPin, OUTPUT); } void loop() { unsigned long currentMillis = millis(); if (currentMillis - previousMillis >= interval) { previousMillis = currentMillis; if (ledState == LOW) { ledState = HIGH; } else { ledState = LOW; } digitalWrite(ledPin, ledState); } }

through a VI. I know I can do it with LINX used UART Write.

The idea is adjust const long interval = 1000; with a Guage of a GUI.Vi in real time.

The idea is adjust const long interval = 1000; with a Guage of a GUI.Vi in real time.

If the interval is going to change, it isn't a constant, is it?

You can send serial data to the Arduino. How you do that from the PC is NOT an Arduino problem.

Reading the data on the Arduino is easy. http://forum.arduino.cc/index.php?topic=396450.0

Using the data is (nearly) trivial.

Leugim: :o

See my reply #3 in this thread here: https://forum.arduino.cc/index.php?topic=360748.0