Stuck once again and any suggestions are valued and needed.. I am trying to use a PIR to detect motion and kick a light on for around 30 sec. (I am also using a relay) The problem is I don't want to use the delay() because i also have a temp sensor on a fan and don't want the entire code to delay.
All the code I have found for timing is pretty lengthy and I am having trouble understanding it... I am pretty new at this...
Anyone have any sugestions for how to code in a timing feature?