Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This is an example code for accessing the GPIOs on the ClearFog Base/Pro:

Example for gpio 22

cd /sys/class/gpio/ 
echo 22 > export 
cd gpio22/ 
echo out > direction 
echo 0 > value

  • No labels