Hi! Here is my problem about programming: Because of the "delay" command in the code of blinking LED, my Arduino (UNO) is waiting 2 seconds (delay value) to read potentiometer value. What should I do?
You should examine the blink without display example and become proficient with it.
Thank you, I've learned a lot from Gammon's post. I am going to use it. So what about "interrupt"? Is it someting different?
So what about "interrupt"? Is it someting different?
Yes. Interrupts are for dealing with things that absolutely must be dealt with NOW or withing microseconds. With what you are doing there is no need to use an interrupt because the loop() function will repeat fast enough to read the pot and allow the system to respond.