Changes between Initial Version and Version 1 of RGM33G
- Timestamp:
- 10/04/22 05:57:49 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RGM33G
v1 v1 1 = RBM 33G = 2 3 Openwrt GPIO setup 4 5 6 Now first step is making GPIO available in Linux: 7 {{{ 8 echo "6" > /sys/class/gpio/export 9 }}} 10 then you need to decide if it will be input or output, as we will use it as a switch so we need output 11 {{{ 12 echo "out" > /sys/class/gpio/gpio6/direction 13 }}} 14 and last line turns GPIO on or off with 1 or 0: 15 {{{ 16 echo "1" > /sys/class/gpio/gpio6/value 17 }}}