my void loop functions
You cannot have more than one loop function. The second sketch is incomplete. What's the emergency?