I2CSend Method

Phcc Interface Library .NET / COM

Sends data to an I2C peripheral attached to the PHCC motherboard.

Namespace:  Phcc
Assembly:  Phcc (in Phcc.dll)

Syntax

Visual Basic (Declaration)
Public Sub I2CSend ( _
	addr As Byte, _
	subAddr As Byte, _
	data As Byte _
)
C#
public void I2CSend(
	byte addr,
	byte subAddr,
	byte data
)

Parameters

addr
Type: System..::.Byte
The address of the I2C peripheral to send data to.
subAddr
Type: System..::.Byte
The sub-address of the I2C peripheral to send data to.
data
Type: System..::.Byte
The data to send to the specified I2C peripheral.

See Also