Skip to content

I2C library discovery tool #25

Open
@fhunleth

Description

@fhunleth

Over the past few years, I've learned that new users have a hard time finding device libraries so they sometimes re-implement support for a device (or give up). Good libraries also go unused due to naming being difficult (not I2C, but how do you name a library for WS2812 LEDs so everyone finds it? Name it neopixel? or what if dotstar support is added, then is it called "leds". Or just name it the LED part number).

It seems like Circuits.I2C.detect_devices/1 (or a new function) could help. Hex.pm has an API to query for packages. The query might be all libraries that depend on circuits_i2c and have an I2C address in their metadata. We'd have to publicize and work with library authors to add appropriate metadata to their packages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions