GoPiGo.GroveI2cStart(GrovePort, Byte, Byte[], Byte) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Start an I2C transaction
public void GroveI2cStart (Iot.Device.GoPiGo3.Models.GrovePort port, byte addr, byte[] arrayToSend, byte inBytes = 0);
member this.GroveI2cStart : Iot.Device.GoPiGo3.Models.GrovePort * byte * byte[] * byte -> unit
Public Sub GroveI2cStart (port As GrovePort, addr As Byte, arrayToSend As Byte(), Optional inBytes As Byte = 0)
Parameters
- port
- GrovePort
The Grove Port, one at the time Grove1 or Grove2
- addr
- Byte
The I2C address of the secondary to be addressed.
- arrayToSend
- Byte[]
An array of bytes to send.
- inBytes
- Byte
The number of bytes to read.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for