Skip to content

A linux sysfs gpio wrapper impl in QT for systems like the Raspberry PI

License

Notifications You must be signed in to change notification settings

jsiei97/qpiGPIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qpiGPIO aka the Qt sysfs gpio wrapper

A linux sysfs gpio wrapper impl in QT for systems like the Raspberry PI.

sysfs gpio

A test with pin11 (gpio 17)

echo 17 > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio17/direction 
echo "1" > /sys/class/gpio/gpio17/value 
echo "0" > /sys/class/gpio/gpio17/value 

# Or the same but with high/low and not in/out
echo "high" > /sys/class/gpio/gpio17/direction
echo "low"  > /sys/class/gpio/gpio17/direction

Links

Links to parts

Raspberry Pi, relayboard

A Raspberry PI connected with a ElecFreaks relayboard on pin11 Raspberry PI connected with a ElecFreaks relayboard on pin11

PWM

About

A linux sysfs gpio wrapper impl in QT for systems like the Raspberry PI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published