8000 Add .frequency property to BusIO's I2C · Issue #1919 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content
Add .frequency property to BusIO's I2C #1919
Open
@brentru

Description

@brentru

Despite being a kwarg within the constructor (https://circuitpython.readthedocs.io/en/4.x/shared-bindings/busio/I2C.html#busio.I2C), Frequency is not a set-able property.

Would it be possible to set the frequency via a call to i2c.Frequency?

>>> i2c.
deinit          readfrom_into   scan            try_lock
unlock          writeto

Currently, I need to de-init the i2c object, change the frequency, then re-init it with a new frequency.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0