Skip to content

overeemm/gocam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code will take a snapshot with raspistill and upload it to dropbox. A traffic light can be used to show status.

You will need a config file with some parameters:

package main

const (
		clientid = "..."
		clientsecret = "..."
		token = "..."
)

Those parameters are given by dropbox when you register an app.

Then you can run this with

go run config.go cam.go

Install go on Raspberry PI

  1. Download the latest version from [http://dave.cheney.net/unofficial-arm-tarballs] with wget

  2. Move that file to /usr/local (use sudo mv)

  3. Untar it with sudo tar -xzf

  4. Create the file /etc/profile.d/go.sh and put the following lines in it:

    export PATH=/usr/local/go/bin:$PATH export GOPATH="$HOME/your-workspace-dir/"

About

go code to shoot photo's with the raspberry pi, upload them to dropbox and use a traffic light to show the status.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published