Polish up comments

This commit is contained in:
Scott Shawcroft 2019-01-31 10:29:29 -08:00
parent da206012e2
commit 2c069a5685
No known key found for this signature in database
GPG Key ID: FD0EDC4B6C53CA59
5 changed files with 13 additions and 15 deletions

View File

@ -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);

View File

@ -39,8 +39,8 @@
//| .. currentmodule:: terminalio
//|
//| :class:`Terminal` -- manage a
//| ==============================================================
//| :class:`Terminal` -- display a character stream with a TileGrid
//| ================================================================
//|
//| .. class:: Terminal(tilegrid, *, unicode_characters="")
//|

View File

@ -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
//|

View File

@ -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

View File

@ -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"