-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The current driver implementation requires different classes/files for each combination of chip and interface, which may become unmanageable as hardware support grows. Would be better if the interfaces were encapsulated by the driver for each chip with a common interface.
Then, instead of things like:
camera = HM01B0_PIO(
i2c,
pins = ...,
sm_id = ...,
resolution,
...
)
Can do something like:
camera_interface = camera_rp2_dvp_pio(
i2c,
pins = ...,
sm_id = ...,
)
camera = HM01B0(
camera_interface,
resolution,
...
)
Metadata
Metadata
Assignees
Labels
No labels