Reference.Wire History

Hide minor edits - Show changes to markup

June 02, 2010, at 06:20 PM by Equipo Traduccion -
Changed lines 20-23 from:

Hay dos versiones de direccionamiento en I2C 7 y 8 bits. 7 bits identifican al dispositivo, y el octavo bit determina si se está leyendo o escribiendo. La librería Wire usa 7 bits de direccionamiento siempre. Si tienes un datasheet o un código que usa 8 bits de direccionamiento, tendrás que ...... (además debes desplazar el valor un bit a la derecha), cediendo una dirección entre 0 y 127.

, you'll want to drop the low bit (i.e. shift the value one bit to the right), yielding an address between 0 and 127.

to:

Hay dos versiones de direccionamiento en I2C 7 y 8 bits. 7 bits identifican al dispositivo, y el octavo bit determina si se está leyendo o escribiendo. La librería Wire usa 7 bits de direccionamiento siempre. Si tienes un datasheet o un código que usa 8 bits de direccionamiento, tendrás que renunciar al bit más bajo (además debes desplazar el valor un bit a la derecha), cediendo una dirección entre 0 y 127.

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

Wire Library

This library allows you to communicate with I2C / TWI devices. On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5. On the Arduino Mega, SDA is digital pin 20 and SCL is 21.

Functions

to:

Librería Wire

Esta librería te permite comunicar con dispositivos I2C / TWI. En la mayoría de las placas Arduino, SDA (línea de datos) está en el pin analógico 4, y SCL (línea de reloj) está en el pin analógico 5. En Arduino Mega, SDA esta en el pin digital 20 y SCL en el 21.

Funciones

Changed lines 18-21 from:

Note

There are both 7- and 8-bit versions of I2C addresses. 7 bits identify the device, and the eighth bit determines if it's being written to or read from. The Wire library uses 7 bit addresses throughout. If you have a datasheet or sample code that uses 8 bit address, you'll want to drop the low bit (i.e. shift the value one bit to the right), yielding an address between 0 and 127.

to:

Nota

Hay dos versiones de direccionamiento en I2C 7 y 8 bits. 7 bits identifican al dispositivo, y el octavo bit determina si se está leyendo o escribiendo. La librería Wire usa 7 bits de direccionamiento siempre. Si tienes un datasheet o un código que usa 8 bits de direccionamiento, tendrás que ...... (además debes desplazar el valor un bit a la derecha), cediendo una dirección entre 0 y 127.

, you'll want to drop the low bit (i.e. shift the value one bit to the right), yielding an address between 0 and 127.

May 17, 2009, at 10:40 PM by David A. Mellis -
Changed lines 3-4 from:

This library allows you to communicate with I2C / TWI devices. On the Arduino, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5.

to:

This library allows you to communicate with I2C / TWI devices. On most Arduino boards, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5. On the Arduino Mega, SDA is digital pin 20 and SCL is 21.

July 23, 2008, at 08:17 PM by David A. Mellis -
Changed lines 20-21 from:

There are both 7- and 8-bit versions of I2C addresses. 7 bits identify the device, and the eighth bit determines if it's being written to or read from. The Wire library uses 7 bit addresses throughout. If you have a datasheet or sample code that uses 8 bit address, you'll want to drop the low bit, yielding an address between 0 and 127.

to:

There are both 7- and 8-bit versions of I2C addresses. 7 bits identify the device, and the eighth bit determines if it's being written to or read from. The Wire library uses 7 bit addresses throughout. If you have a datasheet or sample code that uses 8 bit address, you'll want to drop the low bit (i.e. shift the value one bit to the right), yielding an address between 0 and 127.

July 02, 2008, at 05:50 PM by David A. Mellis -
Changed lines 15-17 from:
to:
July 02, 2008, at 05:21 PM by David A. Mellis -
Added line 19:
July 02, 2008, at 05:08 PM by David A. Mellis -
Added lines 16-18:

Note

There are both 7- and 8-bit versions of I2C addresses. 7 bits identify the device, and the eighth bit determines if it's being written to or read from. The Wire library uses 7 bit addresses throughout. If you have a datasheet or sample code that uses 8 bit address, you'll want to drop the low bit, yielding an address between 0 and 127.

May 07, 2008, at 07:25 PM by David A. Mellis -
Changed lines 3-4 from:

This library allows you to communicate with I2C / TWI devices.

to:

This library allows you to communicate with I2C / TWI devices. On the Arduino, SDA (data line) is on analog input pin 4, and SCL (clock line) is on analog input pin 5.

Changed lines 12-15 from:
to:
May 07, 2008, at 07:22 PM by David A. Mellis -
Added lines 1-12:

Wire Library

This library allows you to communicate with I2C / TWI devices.

Functions

Share