Documentation ¶ Index ¶ func OpenPin(n int, mode gpio.Mode) (gpio.Pinner, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func OpenPin ¶ func OpenPin(n int, mode gpio.Mode) (gpio.Pinner, error) OpenPin exports the pin, creating the virtual files necessary for interacting with the pin. It also sets the mode for the pin, making it ready for use. Types ¶ This section is empty. Source Files ¶ View all Source files gpio.go Directories ¶ Show internal Expand all Path Synopsis cmd Click to show internal directories. Click to hide internal directories.