Changes between Initial Version and Version 1 of RGM33G


Ignore:
Timestamp:
10/04/22 05:57:49 (2 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RGM33G

    v1 v1  
     1= RBM 33G =
     2
     3Openwrt GPIO setup
     4
     5
     6Now first step is making GPIO available in Linux:
     7{{{
     8echo "6" > /sys/class/gpio/export
     9}}}
     10then you need to decide if it will be input or output, as we will use it as a switch so we need output
     11{{{
     12echo "out" > /sys/class/gpio/gpio6/direction
     13}}}
     14and last line turns GPIO on or off with 1 or 0:
     15{{{
     16echo "1" > /sys/class/gpio/gpio6/value
     17}}}