Lines Matching refs:i2c
43 mraa.I2c i2c = new mraa.I2c(0); in main() local
44 i2c.address((byte)0x77); in main()
45 i2c.writeByte((byte)0xd0); in main()
49 i2c.read(data); in main()
52 i2c.writeReg((byte)0xf4, (byte)0x2e); in main()
54 if (i2c.readReg((byte)0xd0) != 0x55) { in main()
59 i2c.writeReg((byte)0xf4, (byte)0x2e); in main()
63 System.out.println(i2c.readWordReg((byte)0xf6)); in main()
68 i2c.write(buf); in main()
70 i2c.writeByte((byte)0xf6); in main()
71 int d = i2c.readReg((byte)2); in main()