Phcc Interface Library for .NET and COM v0.2.1.0 reference library |
Device..::.I2CSend Method |
Device Class See Also Send Feedback |
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.