Reference.Interrupts History

Hide minor edits - Show changes to markup

June 01, 2010, at 02:44 PM by Equipo Traduccion -
Changed lines 3-16 from:

Description

Re-enables interrupts (after they've been disabled by noInterrupts()). Interrupts allow certain important tasks to happen in the background and are enabled by default. Some functions will not work while interrupts are disabled, and incoming communication may be ignored. Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.

Parameters

None

Returns

None

Example

to:

Descripción

Activa las interrupciones (después de haberlas desactivado con noInterrupts(). Las interrupciones permiten que se ejecuten ciertas tareas en segundo plano que están activadas por defecto. Algunas funciones no funcionarán correctamente mientras las interrupciones estén desactivadas y la comunicación entrante puede ser ignorada. Las interrupciones pueden perturbar ligeramente la temporización en el código y deben ser desactivadas sólo para partes particularmente críticas del código.

Parámetros

Ninguno

Devuelve

No devuelve nada

Ejemplo

Changed line 23 from:
  // critical, time-sensitive code here
to:
  // código crítico y sensible al tiempo
Changed line 25 from:
  // other code here
to:
  // otro código
Changed line 29 from:

See Also

to:

Ver también

September 25, 2008, at 11:28 PM by David A. Mellis -
Changed lines 5-6 from:

Re-enables interrupts (after they've been disabled by noInterrupts()). Interrupts allow certain important tasks to happen in the background and are enabled by default. Some functions will not work while interrupts are disabled, and incoming communication may be ignored. Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.

to:

Re-enables interrupts (after they've been disabled by noInterrupts()). Interrupts allow certain important tasks to happen in the background and are enabled by default. Some functions will not work while interrupts are disabled, and incoming communication may be ignored. Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.

Changed lines 9-10 from:

None.

to:

None

Changed lines 13-14 from:

None.

to:

None

September 25, 2008, at 11:23 PM by David A. Mellis -
Deleted lines 29-30:
Added lines 31-33:
September 21, 2008, at 04:10 PM by Paul Badger -
Changed lines 30-31 from:
to:
September 21, 2008, at 04:09 PM by Paul Badger -
Changed lines 30-31 from:
to:
March 29, 2008, at 05:08 PM by David A. Mellis -
Deleted line 26:
March 29, 2008, at 05:08 PM by David A. Mellis -
Changed lines 30-32 from:
to:

See Also

March 29, 2008, at 05:06 PM by David A. Mellis -
Changed lines 26-30 from:

}

to:

}

@]

March 29, 2008, at 05:06 PM by David A. Mellis -
Added lines 1-26:

interrupts()

Description

Re-enables interrupts (after they've been disabled by noInterrupts()). Interrupts allow certain important tasks to happen in the background and are enabled by default. Some functions will not work while interrupts are disabled, and incoming communication may be ignored. Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical sections of code.

Parameters

None.

Returns

None.

Example

[@ void setup() {}

void loop() {

  noInterrupts();
  // critical, time-sensitive code here
  interrupts();
  // other code here

}

Share