Skip to content

Leapo/Rock64-BashGPIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 

Repository files navigation

Rock64-BashGPIO

A collection of Bash libraries, utilities, and scripts for the Rock64 single-board computer

Bash Libraries and Scripts

rock64-gpiolib.sh
A basic GPIO library for the Rock64 for Bash shell scripts

Function Arguments
gpio-setup GPIO #, in/out, up/down, rising/falling/both/none
gpio-output GPIO #, high/low
gpio-input GPIO #
gpio-pwm GPIO #, Frequency (Hz), Duty Cycle (%), Repeatitions
gpio-pwm-calc Frequency (Hz), Duty Cycle (%)
gpio-pwm-raw GPIO #, Sleep High Duration (Seconds), Sleep Low Duration (Seconds), Repeatitions
gpio-cleanup GPIO# (Leave blank to clear all GPIO exports)

rock64-pwm-test.sh
A test script utilizing the rock64-gpiolib library to set the brightness on an LED via software PWM.

Resources

List of resources used while building the scripts and libraries in this repository

About

Bash GPIO library for the Rock64 SBC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages