1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 12:50:19 +01:00
embd/samples/gpioshort.go
2014-03-03 00:51:23 +05:30

14 lines
191 B
Go

// +build ignore
package main
import "github.com/kidoman/embd"
func main() {
embd.InitGPIO()
defer embd.CloseGPIO()
embd.SetDirection(10, embd.Out)
embd.DigitalWrite(10, embd.High)
}