go-gp2y1026au0f

command module
v0.0.0-...-dbb1895 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2020 License: MIT Imports: 4 Imported by: 0

README

go-gp2y1026au0f

Demo code for Sharp GP2Y1026AU0F dust sensor on Raspberry Pi

There's Arduino C demo code on sharpsensoruser/sharp-sensor-demos. I've ported to Go.

How to run

$ GOARM=6 GOARCH=arm GOOS=linux go build -ldflags="-s -w"
$ scp go-gp2y1026au0f raspberrypi:
$ ssh raspberrypi ./go-gp2y1026au0f

Jump to

Keyboard shortcuts

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