Reference.WireOnReceive History

Hide minor edits - Show changes to markup

June 02, 2010, at 06:52 PM by Equipo Traduccion -
Changed lines 5-6 from:

Registers a function to be called when a slave device receives a transmission from a master.

to:

Registra una función que será lllamada cuando un dispositivo esclavo reciba una transmisión desde un maestro.

Deleted lines 10-11:

the function to be called when the slave receives data; this should take a single int parameter (the number of bytes received from the master) and return nothing, e.g.: void myHandler(int numBytes)

June 02, 2010, at 06:50 PM by Equipo Traduccion -
Changed lines 3-4 from:

Description

to:

Descripción

Changed lines 7-16 from:

Parameters

handler: the function to be called when the slave receives data; this should take a single int parameter (the number of bytes received from the master) and return nothing, e.g.: void myHandler(int numBytes)

Returns

None

See Also

to:

Parametros

handler: la función que será llamada cuando el esclavo recibe datos; esta función debería coger un único parámetro entero (el número de bytes recibidos desde un maestro) y no devolver nada, por ejemplo: void myHandler(int numBytes)

the function to be called when the slave receives data; this should take a single int parameter (the number of bytes received from the master) and return nothing, e.g.: void myHandler(int numBytes)

Devuelve

Nada

Ver también

July 02, 2008, at 05:54 PM by David A. Mellis -
Changed lines 9-13 from:

handler: the function to be called when the slave receives data; this should take a single int parameter (the number of bytes received from the master) and return nothing, e.g.:

void myHandler(int numBytes);

to:

handler: the function to be called when the slave receives data; this should take a single int parameter (the number of bytes received from the master) and return nothing, e.g.: void myHandler(int numBytes)

July 02, 2008, at 05:54 PM by David A. Mellis -
Changed lines 11-12 from:
void myHandler(int numBytes);
to:

void myHandler(int numBytes);

July 02, 2008, at 05:54 PM by David A. Mellis -
Changed lines 11-12 from:
void myHandler(int numBytes);
to:
void myHandler(int numBytes);
July 02, 2008, at 05:54 PM by David A. Mellis -
Added lines 1-19:

Wire.onReceive(handler)

Description

Registers a function to be called when a slave device receives a transmission from a master.

Parameters

handler: the function to be called when the slave receives data; this should take a single int parameter (the number of bytes received from the master) and return nothing, e.g.:

void myHandler(int numBytes);

Returns

None

See Also

Share