About 23,300 results
Open links in new tab
  1. How do I count time in seconds? - Arduino Stack Exchange

    Feb 21, 2016 · Arduino measures time in millis () and delay () and in milliseconds, so to convert counts of time in seconds to milliseconds would be 1000x.

  2. Arduino Nano timer drifting - Arduino Stack Exchange

    Jan 9, 2025 · After changing the constant period to 994, the oscillator is too fast: (24 hours + 30 seconds) / 24 hours = (24 * 60 * 60 + 30 seconds) / (24 * 60 * 60 seconds) = 1,00034722222 (about …

  3. Enable and disable individual interrupts - Arduino Stack Exchange

    I know how to initialize the timer in setup function, and I am getting the buzzes every 30 seconds. I also know that interrupts will come according to the timer value and I need to call the function after a fix …

  4. How do I run a loop for a specific amount of time? - arduino uno

    Here is an example that will run for 5 minutes. Note that the loop will begin executing anytime before the time limit is up, including 1 msec before; it can't cut-off something happening at the 5-minute mark, …

  5. how to set the delay on for 7 hours? - Arduino Stack Exchange

    Yes you can write delay(25200000UL) and it will delay for 7 hours. How it works delay(x) will delay for x number of milliseconds. 1 second = 1000 milliseconds 1 minute = 60 seconds 1 hour = 60 minutes 7 …

  6. How to efficiently code a long duration timer - Arduino Stack Exchange

    May 1, 2022 · How to efficiently code a long duration timer Ask Question Asked 3 years, 7 months ago Modified 3 years, 6 months ago

  7. Turn on a relay for a specified amount of time after the press of a ...

    Apr 11, 2022 · What it currently does is: if I push the push button once, it will command the relay ON until I press the button again, which then turns the relay OFF until further input. I know that I should …

  8. Stop Arduino Timer after some seconds

    Feb 28, 2018 · Stop Arduino Timer after some seconds Ask Question Asked 7 years, 9 months ago Modified 7 years, 9 months ago

  9. Proper Attiny85 timer/delay - Arduino Stack Exchange

    Oct 4, 2016 · Proper Attiny85 timer/delay Ask Question Asked 9 years, 2 months ago Modified 9 years, 2 months ago

  10. timers - Button for Delay Select - Arduino Stack Exchange

    Feb 14, 2019 · With S2 The LED on D11 will flash ON for 30 seconds then turn off for 4 hours. After the 4 hours, the LED On D11 will flash ON again for 30 s then turn off for 4 hours again and again as an …