8000 Merge remote-tracking branch 'origin/main' into main · domdfcoding/circuitpython@dfcf2ed · GitHub
[go: up one dir, main page]

Skip to content

Commit dfcf2ed

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents 195e67f + 4922e67 commit dfcf2ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

shared-bindings/paralleldisplay/ParallelBus.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//| protocol may be refered to as 8080-I Series Parallel Interface in datasheets. It doesn't handle
4343
//| display initialization."""
4444
//|
45-
//| def __init__(self, *, data0: microcontroller.Pin, command: microcontroller.Pin, chip_select: microcontroller.Pin, write: microcontroller.Pin, read: microcontroller.Pin, reset: microcontroller.Pin) -> None:
45+
//| def __init__(self, *, data0: microcontroller.Pin, command: microcontroller.Pin 80D2 , chip_select: microcontroller.Pin, write: microcontroller.Pin, read: microcontroller.Pin, reset: microcontroller.Pin, frequency: int = 30_000_000) -> None:
4646
//| """Create a ParallelBus object associated with the given pins. The bus is inferred from data0
4747
//| by implying the next 7 additional pins on a given GPIO port.
4848
//|
@@ -56,7 +56,8 @@
5656
//| :param microcontroller.Pin chip_select: Chip select pin
5757
//| :param microcontroller.Pin write: Write pin
5858
//| :param microcontroller.Pin read: Read pin
59-
//| :param microcontroller.Pin reset: Reset pin"""
59+
//| :param microcontroller.Pin reset: Reset pin
60+
//| :param int frequency: The communication frequency in Hz for the display on the bus"""
6061
//| ...
6162
//|
6263
STATIC mp_obj_t paralleldisplay_parallelbus_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {

0 commit comments

Comments
 (0)
0