agrover / pylcd Goto Github PK
View Code? Open in Web Editor NEWPython bindings for using lcdproc
License: GNU General Public License v2.0
Python bindings for using lcdproc
License: GNU General Public License v2.0
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'
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.