hi everyone, i'm new on arduino and programming in general. i'd want to know if it is ossible to put a delay in the program only to retard only one line of program. i mean, i want to control with pwm in real time an led on the base of the value of a sensor so i need no delays to have a smooth modulation. but i have another sensor connected to the arduino. it's a temperature sensor (LM335). i want to show using the serial monitor the values of temperature so for this part of the program i'd like to have a delay of about 1 second. but if i put delay(1000) it retards all the loop. so, does exist a way to do something while waiting for the delay??
Thank you Fulvio