Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/PyMata-HEAD/examples/pymata_i2c_read.py   PyMata(Download)
#configure the I2C pins. This code is for the UNO
firmata.i2c_config(0, firmata.ANALOG, 4, 5)
# read i2c device at address 0x48, with no register specified. Expect 2 bytes to be returned

src/p/y/PyMata-HEAD/examples/pymata_i2c_write/bicolor_display_controller.py   PyMata(Download)
        # configure firmata for i2c on an UNO
        self.firmata.i2c_config(0, self.firmata.ANALOG, 4, 5)
        # turn on oscillator