adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
448 stars 335 forks source link

Add I2C baudrate to FT232H #174

Closed caternuson closed 4 years ago

caternuson commented 4 years ago

Worth adding? Think this just got overlooked.

Use frequency kwarg: https://eblot.github.io/pyftdi/api/i2c.html#pyftdi.i2c.I2cController.configure pass it through: https://github.com/adafruit/Adafruit_Blinka/blob/8a4686cbc7ebd7f338f64517fa42db4dc5b5c78c/src/busio.py#L22 and use it here: https://github.com/adafruit/Adafruit_Blinka/blob/8a4686cbc7ebd7f338f64517fa42db4dc5b5c78c/src/adafruit_blinka/microcontroller/ft232h/i2c.py#L9

ladyada commented 4 years ago

yep, for sure!

caternuson commented 4 years ago

I'll cycle back to this after MCP2221 work is finished.