Class I2CLink
- java.lang.Object
- 
- io.github.pseudoresonance.pixy2api.links.I2CLink
 
- 
- 
Constructor SummaryConstructors Constructor Description I2CLink()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes I2C portintopen(int arg)Opens I2C portintreceive(byte[] buffer, int length)Receives and reads specified length of bytes from I2Cintreceive(byte[] buffer, int length, Pixy2.Checksum cs)Receives and reads specified length of bytes from I2Cintsend(byte[] buffer, int length)Writes and sends buffer over I2C
 
- 
- 
- 
Method Detail- 
openpublic int open(int arg) Opens I2C port
 - 
receivepublic int receive(byte[] buffer, int length, Pixy2.Checksum cs)Receives and reads specified length of bytes from I2C
 - 
receivepublic int receive(byte[] buffer, int length)Receives and reads specified length of bytes from I2C
 
- 
 
-