Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fernferret/gpiotest
A simple statically linked gpio tester program (with PWM) for Rasperry Pi OS
https://github.com/fernferret/gpiotest
Last synced: about 2 months ago
JSON representation
A simple statically linked gpio tester program (with PWM) for Rasperry Pi OS
- Host: GitHub
- URL: https://github.com/fernferret/gpiotest
- Owner: fernferret
- Created: 2020-11-21T13:05:52.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T13:12:35.000Z (about 4 years ago)
- Last Synced: 2024-10-11T03:21:42.057Z (3 months ago)
- Language: Go
- Size: 127 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
To build, just type `make`.
# Running
Here's a nice test:
**NOTE:** Must be run as root to access the PWM gpio pins currently.
I think the others should work without root but need to update the
code to allow it.
```
$ sudo ./gpiotest 18 -m pwm --cycle 100 --rf 100 --duty 50 --auto
```If you have a scope you should see something like:
![Scope showing signal](scope.png)