command
Version:
v0.0.0-...-75c1d0d
Opens a new window with list of versions in this module.
Published: Nov 4, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Introduction
Making leds blink
Wiring
flame sensor |
Raspberry Pi |
Ground |
GND |
Vcc / + |
5V |
DO |
GPIO 21 |
How to build
Compile flame.go like this
go get github.com/stianeikeland/go-rpio
env GOOS=linux GOARCH=arm GOARM=6 go build flame.go
Copy the generated file to your Raspberry Pi device and execute it with this command
env RED_PIN=12 YELLOW_PIN=13 GREEN_PIN=18 ./flame
Happy blinking
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.