src

command
v0.0.0-...-c3bbddf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 5 Imported by: 0

README

Introduction

Detect motion follow this link to configure pin https://projects.raspberrypi.org/en/projects/physical-computing/13

How to

Compile pir.go like this

go get periph.io/x/periph/cmd/...
env GOOS=linux GOARCH=arm GOARM=6 go build pir-periph.go

Copy the generated file to your Raspberry Pi device and execute it with this command

./pir-periph

Happy blinking

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL