Board : esp32 Vroom DevKit
I have tried to use the i2c.py library from the examples.
Using the class
i2c = I2C(I2C0,29)
i2c = I2C(0,29)
it always comes back
After looking at the adc.py exmaple I have also tried to rewrite as a none class version adding a few globals - dropping self. etc
Here I get a porblem with
drv = __driver(drvname)
in the init function where it always just hangs.
(see the i2c.py example init :
def init(self, drvname, addr, clock=100000):
self.clock = clock
self.drv = __driver(drvname)
self.drvid = drvname&0xff
self.addr = addr
the double underscores were removed frominit on posting !
Any ideas why I am having problems with this library.
Is there an easy solution. I would love touse hte zerynth to drive I2C devices.