-
Notifications
You must be signed in to change notification settings - Fork 3
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:
- SimpleGPIO_thread.cpp/h - C++ class for a thread to do a pulse or a train of pulses on a GPIO pin
- SimpleGPIO_tester.cpp - C++ application using SimpleGPIO_thread to do software pulse width modulation
- SimpleGPIO_Py.cpp - C++ code for a Python module to make and use a SimpleGPIO_thread from Python
- SimpleGPIO_setup.py - Python code to make and install the ptSimpleGPIO Python library
- PTSimpleGPIO.py - Python code that wraps the ptSimpleGPIO module in a Python object interface
- 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