Go to advanced search

by Mohmir
Wed May 02, 2018 1:23 pm
Forum: Python
Topic: New pigpio Python module
Replies: 204
Views: 83739

Re: New pigpio Python module

Here is the code altered for V46. #!/usr/bin/env python # PPM.py # 2016-02-18 # Public Domain import time import pigpio class X: GAP=100 WAVES=3 def __init__(self, pi, gpio, channels=8, frame_ms=27): self.pi = pi self.gpio = gpio if frame_ms < 5: frame_ms = 5 channels = 2 elif frame_ms > 100: frame...

Go to advanced search