Skip to content

SimpleGPIO_thread Class

Jamie Boyd edited this page Mar 6, 2018 · 3 revisions

SimpleGPIO_thread is a C++ class for threaded Pulses and Trains of Pulses. The relevant files are:

  1. SimpleGPIO_thread.cpp/h - C++ class for a thread to do a pulse or a train of pulses on a GPIO pin
  2. SimpleGPIO_tester.cpp - C++ application using SimpleGPIO_thread to do software pulse width modulation
  3. SimpleGPIO_Py.cpp - C++ code for a Python module to make and use a SimpleGPIO_thread from Python
  4. SimpleGPIO_setup.py - Python code to make and install the ptSimpleGPIO Python library
  5. PTSimpleGPIO.py - Python code that wraps the ptSimpleGPIO module in a Python object interface
  6. PTSimpleGPIO_test.py - Python code with tests for PTSimpleGPIO. May require oscilloscope, LED, or piezo

int pin, int polarity, unsigned int delayUsecs, unsigned int durUsecs, unsigned int nPulses, int accuracyLevel

Return to Table of Contents

Clone this wiki locally