Coder Social home page Coder Social logo

pylcd's Introduction

Python Library Documentation: module pylcd

NAME
    pylcd

FILE
    pylcd.py

DESCRIPTION
    # Copyright (C) 2002 Tobias Klausmann
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    # GNU General Public License for more details.
    #
    # By reading this code you agree not to ridicule the author =)

CLASSES
    client
    
    class client
     |  This class opens a connection to the LCD deamon
     |  on the specified host and encapsulates all the
     |  dunctions of the LCDd protocol.
     |  
     |  __init__(self, host='localhost', port=13666)
     |      Connect to the LCD daemon. Do *not* send
     |      "hello" (connect() is used for that).
     |  
     |  client_set(self, id)
     |      Implement the client_set command, return server answer
     |  
     |  connect(self)
     |      Send connect message ("hello") to server and
     |      return connection message. Also set internal
     |      variables that can be read via getinfo().
     |  
     |  getinfo(self)
     |      Print information gathered during connect().
     |  
     |  read(self)
     |      Read very eagerly, but not necessarily a whole line.
     |      Return read data.
     |  
     |  readl(self)
     |      Read and return a whole line. May block.
     |  
     |  remap(self, str)
     |      Maps high-bit ascii charactes which often produce kanjii
     |      on HD44780 displays to approximations. Returns string
     |      with fixed characters.
     |      This one is specially tailored to HD44780 displays. Later
     |      versions (>=0.4.3) of LCDd do this by themselves.
     |  
     |  screen_add(self, id)
     |      Implement the screen_add command, return server answer
     |  
     |  screen_del(self, id)
     |      Implement the screen_del command, return server answer
     |  
     |  screen_set(self, id, params)
     |      Implement the screen_set command, return server answer
     |  
     |  send(self, cmd)
     |      Send "cmd" plus a linefeed to the server.
     |  
     |  widget_add(self, id, type, params='')
     |      Implement the widget_add command, return server answer
     |  
     |  widget_set(self, screen, id, data)
     |      Implement the widget_set command, return server answer

DATA
    __file__ = './pylcd.pyc'
    __name__ = 'pylcd'

pylcd's People

Contributors

agrover avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pylcd's Issues

Please consider updating the copyright notices to reflect the new mailing address of the Free Software Foundation

The Free Software Foundation is no longer at 675 Mass Ave, Cambridge, MA.

Our new address is 51 Franklin Street, Suite 500, Boston, MA 02110.

You can confirm this for yourself here: http://www.fsf.org/about/contact/

Please update all references to our old address in your code so people can continue to contact us (we haven't been at the old address for more than a decade at this point)

Kind regards,

matt

Matt Lee
Campaigns Manager
Free Software Foundation

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.