Skip to content
Snippets Groups Projects
Select Git revision
  • e563593e87be305bcdc20ded3ec00b3f6f80da9e
  • master default protected
  • koalo/bhi160-works-but-dirty
  • ch3/splashscreen
  • m
  • rahix/simple_menu
  • ios-workarounds
  • koalo/wip/i2c-for-python
  • genofire/ble-rewrite
  • renze/safe_mode
  • renze/hatchery_apps
  • schneider/fundamental-test
  • koalo/factory-reset
  • msgctl/gfx_rle
  • msgctl/faultscreen
  • msgctl/textbuffer_api
  • schneider/bonding
  • schneider/bootloader-update-9a0d158
  • schneider/bsec
  • rahix/bma
  • rahix/bhi
  • v1.2
  • v1.1
  • v1.0
  • release-1
  • bootloader-v1
  • v0.0
27 results

code-style.sh

Blame
  • Forked from card10 / firmware
    Source project has a limited visibility.
    lcd160cr.rst 13.54 KiB

    :mod:`lcd160cr` --- control of LCD160CR display

    This module provides control of the MicroPython LCD160CR display.

    LCD160CRv1.0 picture

    Further resources are available via the following links:

    class LCD160CR

    The LCD160CR class provides an interface to the display. Create an instance of this class and use its methods to draw to the LCD and get the status of the touch panel.

    For example:

    import lcd160cr
    
    lcd = lcd160cr.LCD160CR('X')
    lcd.set_orient(lcd160cr.PORTRAIT)
    lcd.set_pos(0, 0)
    lcd.set_text_color(lcd.rgb(255, 0, 0), lcd.rgb(0, 0, 0))
    lcd.set_font(1)
    lcd.write('Hello MicroPython!')
    print('touch:', lcd.get_touch())

    Constructors

    Static methods

    Instance members

    The following instance members are publicly accessible.

    Setup commands