Changes between Version 3 and Version 4 of ventana/gw5200usb


Ignore:
Timestamp:
07/12/2018 01:25:25 PM (2 months ago)
Author:
Cale Collins
Comment:

made example more descriptive.

Legend:

Unmodified
Added
Removed
Modified
  • ventana/gw5200usb

    v3 v4  
    1212Setting the GPIO high will route to the Mini-PCIe slot and setting the GPIO low (0) will route it to the front panel connector:
    1313{{{#!bash
    14 echo 2 > /sys/class/gpio/export
    15 echo out > /sys/class/gpio/gpio2/direction
    16 echo 1 > /sys/class/gpio/gpio2/value
     14echo 2 > /sys/class/gpio/export #take control of GPIO-2
     15echo out > /sys/class/gpio/gpio2/direction #set to an output
     16echo 1 > /sys/class/gpio/gpio2/value #set value high
    1717}}}
    1818