lg archive
lg lgpio C lgpio Python Daemon rgpio C rgpio Python rgs Download Examples FAQ Site Map

The lg archive



lg is an archive of programs for Linux Single Board Computers which allows control of the General Purpose Input Outputs.

Features

  • reading and writing GPIO singly and in groups
  • software timed PWM
  • callbacks on GPIO level change
  • notifications via pipe on GPIO level change
  • I2C wrapper
  • SPI wrapper
  • serial link wrapper
  • socket interface
  • permission control (socket interface)
  • file handling (socket interface)
  • creating and running scripts (socket interface)
  • network access (socket interface)

General

The archive contains the following:

  • The lgpio C library to control local GPIO.
  • The lgpio Python module to control local GPIO.
  • The rgpiod daemon offers a socket interface to the lgpio library.
  • The rgpio C library to control local and remote GPIO via the daemon.
  • The rgpio Python module to control local and remote GPIO via the daemon.
  • The rgs shell utility to control local and remote GPIO via the daemon.

GPIO

ALL GPIO are identified by their gpiochip device number.

Other Languages

There are several third party projects which provide wrappers for lg.

Some are listed here:



[lg] [lgpio C] [lgpio Python] [Daemon] [rgpio C] [rgpio Python] [rgs] [Download] [Examples] [FAQ] [Site Map]
© 2020-2023
(2023-05-03 10:21)