All Projects → xyb → Lcd2usb

xyb / Lcd2usb

LCD2USB's Python Library

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Lcd2usb

Hidapi
A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows.
Stars: ✭ 465 (+2347.37%)
Mutual labels:  usb
Libgphoto2
The libgphoto2 camera access and control library.
Stars: ✭ 637 (+3252.63%)
Mutual labels:  usb
Node Escpos
🖨️ ESC/POS Printer driver for node
Stars: ✭ 752 (+3857.89%)
Mutual labels:  usb
Hoodloader2
16u2 Bootloader to reprogram 16u2 + 328/2560 with Arduino IDE
Stars: ✭ 509 (+2578.95%)
Mutual labels:  usb
Androbd
Android OBD diagnostics with any ELM327 adapter
Stars: ✭ 573 (+2915.79%)
Mutual labels:  usb
Usbguard
USBGuard is a software framework for implementing USB device authorization policies (what kind of USB devices are authorized) as well as method of use policies (how a USB device may interact with the system)
Stars: ✭ 668 (+3415.79%)
Mutual labels:  usb
Flingos
An educational operating system written in C#. A great stepping stone from high to low level development.
Stars: ✭ 451 (+2273.68%)
Mutual labels:  usb
Blink1
Official software for blink(1) USB RGB LED by ThingM
Stars: ✭ 888 (+4573.68%)
Mutual labels:  usb
Digispark Scripts
USB Rubber Ducky type scripts written for the DigiSpark.
Stars: ✭ 629 (+3210.53%)
Mutual labels:  usb
Vigembus
Windows kernel-mode driver emulating well-known USB game controllers.
Stars: ✭ 721 (+3694.74%)
Mutual labels:  usb
Multibootusb
A collection of GRUB files and scripts that will allow you to create a pendrive capable of booting different ISO files
Stars: ✭ 543 (+2757.89%)
Mutual labels:  usb
Usb Canary
A Linux or OSX tool that uses psutil to monitor devices while your computer is locked. In the case it detects someone plugging in or unplugging devices it can be configured to send you an SMS or alert you via Slack or Pushover.
Stars: ✭ 561 (+2852.63%)
Mutual labels:  usb
Brutal
Payload for teensy like a rubber ducky but the syntax is different. this Human interfaes device ( HID attacks ). Penetration With Teensy . Brutal is a toolkit to quickly create various payload,powershell attack , virus attack and launch listener for a Human Interface Device ( Payload Teensy )
Stars: ✭ 678 (+3468.42%)
Mutual labels:  usb
Hidviz
A tool for in-depth analysis of USB HID devices communication
Stars: ✭ 505 (+2557.89%)
Mutual labels:  usb
Libaums
Open source library to access USB Mass Storage devices on Android without rooting your device
Stars: ✭ 769 (+3947.37%)
Mutual labels:  usb
Glim
GRUB Live ISO Multiboot
Stars: ✭ 452 (+2278.95%)
Mutual labels:  usb
Bootiso
A bash program to securely create a bootable USB device from one image file.
Stars: ✭ 645 (+3294.74%)
Mutual labels:  usb
Hidsensor
USB HID Sensor implementation for PIC16F1454 and STM32F072
Stars: ✭ 19 (+0%)
Mutual labels:  usb
Circle
A C++ bare metal environment for Raspberry Pi with USB (32 and 64 bit)
Stars: ✭ 816 (+4194.74%)
Mutual labels:  usb
Ns Usbloader
Awoo Installer/TinFoil/GoldLeaf NSPs (and other files) uploader and RCM tool. Also a tool for split files and merge them back.
Stars: ✭ 708 (+3626.32%)
Mutual labels:  usb

LCD2USB's Python Library

home: http://github.com/xyb/lcd2usb

PyPI: http://pypi.python.org/pypi/lcd2usb

Introduce

The LCD2USB's Python Library is a Pure-python wrapper for LCD2USB_ which provide a simple way to control your LCD2USB display device. LCD2USB_ is a open source/open hardware project to connect HD44780 based text LCD displays to various PCs via USB.

Usage

Connect a lcd2usb device is easy::

>>> from lcd2usb import LCD
>>> lcd = LCD()
>>> lcd.info()
Found LCD2USB device on bus 004 device 004.

Get lcd2usb firmware version::

>>> lcd.version
(1, 9)

Write something on the screen::

>>> lcd.write('Hello, LCD2USB!')

Clean screen and wirte some on the 2nd row::

>>> lcd.clear()
>>> lcd.goto(0, 1)
>>> lcd.write('Flying with PYTHON')

Or simpler::

>>> lcd.write('Flying with PYTHON', 0, 1)

Define a custom smile symbol and display it on the center of first row (on a 4x20 display)::

>>> from lcd2usb import SMILE_SYMBOL
>>> lcd.define_char(0, SMILE_SYMBOL)
>>> lcd.write('\0', 9, 0)

That it!

If you need a quickly running test for your device, use this::

python -m lcd2usb

Requirements

  • Python_ 3 required

  • ctypes_ (included in Python)

  • libusb-1.0_

  • python-libusb1_

Installation

Installation is done just as for any other Python library. Using the pip or easy_install command from setuptools is the easiest::

pip install lcd2usb

Or::

easy_install install lcd2usb

.. _LCD2USB: http://www.harbaum.org/till/lcd2usb

.. _Python: http://www.python.org/

.. _ctypes: http://python.net/crew/theller/ctypes/

.. _libusb-1.0: http://www.libusb.org/wiki/libusb-1.0

.. _python-libusb1: http://github.com/vpelletier/python-libusb1

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].