Skip to main content

This module provides an interface to manage PWM on RLIEH systems

Project description


This module is intended to provide an interface to manage PWM on RLIEH systems.

rlieh-pwm is a part of the [RLIEH project]( and can be used on Raspberry Pi.

## Prerequisites

This module relies on [pi-blaster project]( providing 8 PWM channels at a 100Hz PWM frequency and 1000 PWM steps.

### Default supported GPIO pins

GPIO number Pin P1 header
4 P1-7
17 P1-11
18 P1-12
21 P1-13
22 P1-15
23 P1-16
24 P1-18
25 P1-22

## Install

### From source

git clone
cd rlieh-pwm
python3 install
### From pip

pip3 install rlieh-pwm
## Usage

### as Py module

### as CLI tool

## Licence
>>> from core import RliehLeds
>>> light = RliehLeds(pin=18)
>>> light.pwm = 0.420

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rlieh_pwm, version 0.0.6
Filename, size File type Python version Upload date Hashes
Filename, size rlieh_pwm-0.0.6.tar.gz (5.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page