Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is31pixelbuf #5726

Merged
merged 17 commits into from
Feb 2, 2022
Prev Previous commit
Next Next commit
Fixed doc
  • Loading branch information
gamblor21 committed Dec 15, 2021
commit bb8ad7f61112c82440b0cb0076c398c7c8ef3b39
6 changes: 3 additions & 3 deletions shared-bindings/is31fl3741/__init__.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
//| """Low-level is31fl3741 implementation
//|
//| The `is31fl3741_write` module contains a helper method to write out bytes in
//| over the I2C bus.
//| over the I2C bus."""
//|
//| def is31fl3741_write(i2c: busio.I2c, addr: int, mapping: Tuple[int, ...], buf: ReadableBuffer) -> None:
//| def is31fl3741_write(i2c: busio.I2C, addr: int, mapping: Tuple[int, ...], buf: ReadableBuffer) -> None:
gamblor21 marked this conversation as resolved.
Show resolved Hide resolved
//| """Write buf out on the given I2C bus.
//|
//| :param ~busio.I2C i2c: the I2C bus to output with
Expand Down Expand Up @@ -83,7 +83,7 @@ MP_DEFINE_CONST_FUN_OBJ_KW(is31fl3741_is31fl3741_write_obj, 0, is31fl3741_is31fl
//| """Initialize the IS31FL3741 device.
//|
//| :param ~busio.I2C i2c: the I2C bus to output with
//| :param ~int addr: the I2C address of the IS31FL3741 device
//| :param ~int addr: the I2C address of the IS31FL3741 device"""
//| ...
STATIC mp_obj_t is31fl3741_is31fl3741_init(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
gamblor21 marked this conversation as resolved.
Show resolved Hide resolved
enum { ARG_i2c, ARG_addr };
Expand Down