Fonctions | Variables
Référence du fichier delay.h
#include <stdint.h>
#include "variant.h"

Fonctions

unsigned long millis (void)
 Returns the number of milliseconds since the Arduino board began running the current program. Plus de détails...
 
unsigned long micros (void)
 Returns the number of microseconds since the Arduino board began running the current program. Plus de détails...
 
void delay (unsigned long dwMs)
 Pauses the program for the amount of time (in miliseconds) specified as parameter. (There are 1000 milliseconds in a second.) Plus de détails...
 

Variables

static __inline__ void unused
 

Documentation des fonctions

◆ delay()

void delay ( unsigned long  dwMs)

Pauses the program for the amount of time (in miliseconds) specified as parameter. (There are 1000 milliseconds in a second.)

Paramètres
dwMsthe number of milliseconds to pause (uint32_t)

◆ micros()

unsigned long micros ( void  )

Returns the number of microseconds since the Arduino board began running the current program.

This number will overflow (go back to zero), after approximately 70 minutes. On 16 MHz Arduino boards (e.g. Duemilanove and Nano), this function has a resolution of four microseconds (i.e. the value returned is always a multiple of four). On 8 MHz Arduino boards (e.g. the LilyPad), this function has a resolution of eight microseconds.

Note
There are 1,000 microseconds in a millisecond and 1,000,000 microseconds in a second.

◆ millis()

unsigned long millis ( void  )

Returns the number of milliseconds since the Arduino board began running the current program.

This number will overflow (go back to zero), after approximately 50 days.

Renvoie
Number of milliseconds since the program started (uint32_t)

Documentation des variables

◆ unused

static __inline__ void unused