1
0
mirror of https://github.com/kidoman/embd synced 2024-06-09 04:27:48 +02: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)
}