Linux SoftwareProgrammingLibrarieslibparportled 0.5.1

libparportled 0.5.1


libparportled library is intended to control a LED device plugged on parallel port. A such device is composed of a number of LED (de
Developer:   Julien Danjou
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   26K
Language:   
OS:   
Rating:   3.3 /5 (3 votes)
Your vote:  
enlarge screenshot


libparportled library is intended to control a LED device plugged on parallel port.

A such device is composed of a number of LED (default is 8, maybe more is possible, I don't know) plugged on parallel port.

Usage:

gcc option: -lparportled
#include < parportled.h >

MAXLED is defined as the number of LED available.
(--with-maxled= in configure option)

BASEPORT is the IO address of parallel port
(--with-port= in configure option)

Functions available are:

int led_setperm();
Initialise the parallel port, MUST be root !
Return -1 on error.

void led_on_all();
Turn all LED on.

void led_off_all();
Turn all LED off.

int led_on(int led);
Turn LED number "led" on.

int led_off(int led);
Turn LED number "led" off.

int led_set_on(int *state);
State must be a int vector. If value is > 0, LED will be turned on.

int led_set_off(int *state);
Do the inverse of led_set().

int led_blink_on(int led, int us_time);
Start blinking LED number "led". us_time is the time in microsecond of
the state changement.
This function starts a new thread.
Please note that all LED are blinking with in a same interval, the first
us_time is used.
If you do:
led_blink_on(1, 10000);
led_blink_on(2, 2000);
10000 will be used for ALL blinking LED.

int led_blink_off(int led);
Stop blinking LED number led.
If no more led are blinking, thread exits.

What's New in This Release:
  • Some bug fix
    tags int led  off int  parallel port  led blink  led off  number led  led number  led set  all led  blinking led  are blinking  led are  int *state  

    Download libparportled 0.5.1


     http://julien.danjou.info/libparportled/libparportled-0.5.1.tar.gz


    Authors software

    libparportled 0.5.1 (by Julien Danjou)
    libparportled library is intended to control a LED device plugged on parallel port.

    A such device is composed of a number of LED (de

    sysrqd 7 (by Julien Danjou)
    sysrqd is a small daemon intended to manage Linux Sysrq over network

    telak 0.5 (by Julien Danjou)
    telak is a small tool to draw local or remote pictures on your root window


    Similar software

    libparportled 0.5.1 (by Julien Danjou)
    libparportled library is intended to control a LED device plugged on parallel port.

    A such device is composed of a number of LED (de

    DS1624 parallel port thermometer 0.4 (by Fabrizio Fiorucci)

    Template::Tutorial 2.15 (by Andy Wardley)
    Template::Tutorial are template toolkit tutorials.

    This section includes tutorials on using the Template Toolkit

    Parapin 1.0.0 (by Al Hooton)
    Parapin library makes it easy to write C code under Linux that controls individual pins on a PC parallel port

    Palace 0.2.1 (by Mike Bourgeous)
    Palace is a nifty visualization plugin for XMMS

    NAmpel 0.4 (by Goesta Smekal)
    NAmpel is a daemon for visualizing the state of a network using Nagios and a set of status LEDs attached to a parallel port.

    NAmpe

    cdpr 2.2.1 (by Lance O'Connor)
    cdpr is used to decode a Cisco Disovery Protocol (CDP) packet, by default it will report the device ID, the IP Address (of the device

    LibLp 0.1 (by Juan M. Casillas)
    LibLp is a library to send and receive data to the parallel port under Linux, using a few simple functions.

    Installation:

    just

    WMLongRun 0.2.0 (by Seiichi SATO)
    WMLongRun is a dockapp to monitor LongRun.

    It displays the current LongRun settings and status: the frequency, the LongRun flags (

    Serial Line Sniffer 0.4.4 (by Yan Gurtovoy)
    slsnif is a serial line sniffer


    Other software in this category

    zlib 1.2.3 (by Jean-loup Gailly)
    zlib is designed to be a free, general-purpose, legally unencumbered, lossless data-compression library for use on virtually any comp

    libjpeg v6b (by Independent JPEG Group)
    libjpeg is a library for handling the JPEG (JFIF) image format

    OpenSSL 0.9.7c (by The OpenSSL Project Team)
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implement

    libxml2 2.6.27 (by DV)
    Libxml2 is the XML C parser and toolkit developed for the Gnome project (but usable outside of the Gnome platform), libxml2 library i

    GNU C library 2.4 (by Andreas Jaeger)
    GNU C library (glibc) is one of the most important components of GNU Hurd and most modern Linux distributions.

    GNU C library is us

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags