|
60 | 60 | //| power: Optional[microcontroller.Pin] = None,
|
61 | 61 | //| free_bus: Optional[bool] = True,
|
62 | 62 | //| ) -> None:
|
63 |
| -//| """Create a framebuffer for the Aurora CoG display. |
| 63 | +//| """Create a framebuffer for the Aurora CoG display. |
64 | 64 | //|
|
65 |
| -//| .. note:: Displays of size 1.9" and 2.6" are not tested, and may exibit unexpected behavior. |
| 65 | +//| .. note:: Displays of size 1.9" and 2.6" are not tested, and may exibit unexpected behavior. |
66 | 66 | //|
|
67 |
| -//| :param busio.SPI spi_bus: The SPI bus that the display is connected to |
68 |
| -//| :param microcontroller.Pin chip_select: The pin connected to the displays chip select input |
69 |
| -//| :param microcontroller.Pin reset: The pin connected to the displays reset input |
70 |
| -//| :param microcontroller.Pin busy: The pin connected to the displays busy output |
71 |
| -//| :param microcontroller.Pin discharge: The pin connected to the displays discharge input |
72 |
| -//| :param int width: The width of the display in pixels |
73 |
| -//| :param int height: The height of the display in pixels |
74 |
| -//| :param microcontroller.Pin power: The pin that controls power to the display (optional). |
75 |
| -//| :param bool free_bus: Determines whether the SPI bus passed in will be freed when the frame buffer is freed. |
76 |
| -//| """ |
| 67 | +//| :param busio.SPI spi_bus: The SPI bus that the display is connected to |
| 68 | +//| :param microcontroller.Pin chip_select: The pin connected to the displays chip select input |
| 69 | +//| :param microcontroller.Pin reset: The pin connected to the displays reset input |
| 70 | +//| :param microcontroller.Pin busy: The pin connected to the displays busy output |
| 71 | +//| :param microcontroller.Pin discharge: The pin connected to the displays discharge input |
| 72 | +//| :param int width: The width of the display in pixels |
| 73 | +//| :param int height: The height of the display in pixels |
| 74 | +//| :param microcontroller.Pin power: The pin that controls power to the display (optional). |
| 75 | +//| :param bool free_bus: Determines whether the SPI bus passed in will be freed when the frame buffer is freed. |
| 76 | +//| """ |
77 | 77 | //|...
|
78 | 78 | static mp_obj_t aurora_epaper_framebuffer_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *all_args) {
|
79 | 79 | enum { ARG_spi_bus, ARG_chip_select, ARG_reset, ARG_busy, ARG_discharge, ARG_width, ARG_height, ARG_power, ARG_free_bus, NUM_ARGS };
|
|
0 commit comments