Polish up comments
This commit is contained in:
parent
da206012e2
commit
2c069a5685
@ -134,7 +134,8 @@ STATIC mp_obj_t displayio_display_make_new(const mp_obj_type_t *type, size_t n_a
|
||||
|
||||
//| .. method:: show(group)
|
||||
//|
|
||||
//| Switches to displaying the given group of layers.
|
||||
//| Switches to displaying the given group of layers. When group is None, the default
|
||||
//| CircuitPython terminal will be shown.
|
||||
//|
|
||||
STATIC mp_obj_t displayio_display_obj_show(mp_obj_t self_in, mp_obj_t group_in) {
|
||||
displayio_display_obj_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
|
@ -39,8 +39,8 @@
|
||||
|
||||
//| .. currentmodule:: terminalio
|
||||
//|
|
||||
//| :class:`Terminal` -- manage a
|
||||
//| ==============================================================
|
||||
//| :class:`Terminal` -- display a character stream with a TileGrid
|
||||
//| ================================================================
|
||||
//|
|
||||
//| .. class:: Terminal(tilegrid, *, unicode_characters="")
|
||||
//|
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2018 Scott Shawcroft for Adafruit Industries
|
||||
* Copyright (c) 2019 Scott Shawcroft for Adafruit Industries
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@ -34,13 +34,13 @@
|
||||
|
||||
#include "py/runtime.h"
|
||||
|
||||
//| :mod:`terminalio` --- MIDI over USB
|
||||
//| :mod:`terminalio` --- Displays text in a TileGrid
|
||||
//| =================================================
|
||||
//|
|
||||
//| .. module:: terminalio
|
||||
//| :synopsis: MIDI over USB
|
||||
//| :synopsis: Displays text in a TileGrid
|
||||
//|
|
||||
//| The `terminalio` module contains classes to transmit and receive MIDI messages over USB
|
||||
//| The `terminalio` module contains classes to display a character stream on a display
|
||||
//|
|
||||
//| Libraries
|
||||
//|
|
||||
|
@ -3,7 +3,7 @@
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2018 Scott Shawcroft
|
||||
* Copyright (c) 2019 Scott Shawcroft
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@ -24,11 +24,9 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_USB_MIDI___INIT___H
|
||||
#define MICROPY_INCLUDED_SHARED_BINDINGS_USB_MIDI___INIT___H
|
||||
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_TERMINALIO___INIT___H
|
||||
#define MICROPY_INCLUDED_SHARED_BINDINGS_TERMINALIO___INIT___H
|
||||
|
||||
#include "py/obj.h"
|
||||
// Nothing now.
|
||||
|
||||
extern mp_obj_dict_t usb_midi_module_globals;
|
||||
|
||||
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_USB_MIDI___INIT___H
|
||||
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_TERMINALIO___INIT___H
|
||||
|
@ -2,7 +2,6 @@
|
||||
#include <string.h>
|
||||
#include "shared-module/displayio/__init__.h"
|
||||
|
||||
|
||||
#include "shared-bindings/displayio/Bitmap.h"
|
||||
#include "shared-bindings/displayio/Display.h"
|
||||
#include "shared-bindings/displayio/Group.h"
|
||||
|
Loading…
Reference in New Issue
Block a user