Go to advanced search

by BrandonAGr
Wed Sep 12, 2012 2:21 am
Forum: Other programming languages
Topic: I2C with Go
Replies: 2
Views: 2159

I2C with Go

I just got controlling the Adafruit servo driver working from Go, it uses ioctl calls to communicate This is the rough code that I still need to create a library around and improve, but it is cool to finally see the servo moving after spending a few days learning Go / linux development bus := gocupi...
by BrandonAGr
Thu Sep 06, 2012 3:58 pm
Forum: Other programming languages
Topic: The Go Programming Language on the Raspberry Pi
Replies: 36
Views: 42235

Re: The Go Programming Language on the Raspberry Pi

Has anyone gotten GPIO or I2C access working in Go?

If not could anyone recommend a good place to start implementing support? Would porting some GPIO C code into Go work? I'm new to Go but would like to try it out for implementing the software for the project I'm working on.
by BrandonAGr
Mon Sep 03, 2012 7:41 pm
Forum: Automation, sensing and robotics
Topic: Controlling Power with Raspberry Pi
Replies: 3
Views: 2173

Re: Controlling Power with Raspberry Pi

You could buy something like a PowerSwitch Tail and drive that from the GPIO pin, it only needs 3ma

Looks like its available from sparkfun also
by BrandonAGr
Sat Sep 01, 2012 8:57 pm
Forum: Other programming languages
Topic: Download zip for Go source?
Replies: 2
Views: 1227

Re: Download zip for Go source?

Yes it looks like go1.0.2 works fine, the math/rand test timed out but everything else finished with no problems, all I had to do was set the environment variables, wget the source, and then run all.bash
by BrandonAGr
Sat Sep 01, 2012 8:00 pm
Forum: Other programming languages
Topic: Download zip for Go source?
Replies: 2
Views: 1227

Re: Download zip for Go source?

I somehow missed http://code.google.com/p/go/downloads/list but it only lists go1.0.2 from June 13, would that have the fixes that several bugreports mention are in tip in order for it to work on the Pi?
by BrandonAGr
Sat Sep 01, 2012 7:48 pm
Forum: Other programming languages
Topic: Download zip for Go source?
Replies: 2
Views: 1227

Download zip for Go source?

I am using Arch linux(I think fully updated) and trying to get Go installed, when I try to clone the repo with either release, weekly, tip, I always get this exact hg error So my question is, is there somewhere I can download a tarball of the latest go source without having to clone the repo so that...

Go to advanced search