ev3dev is a simple interface to the Lego Mindstorms ev3 robotics platform
The goal is to implement a simple Go style ev3dev API and helpers for common tasks.
github.com/ev3go/ev3dev depends on ev3dev stretch and has been tested on kernel 4.14.61-ev3dev-2.2.2-ev3. For jessie support see the ev3dev-jessie branch.
Compiling for a brick can be done on the platform itself if Go is installed there, but it is generally quicker on your computer. This requires that you prefix the
go buildinvocation with
GOOS=linux GOARCH=arm GOARM=5. For example, to build the demo program you can do this:
$ GOOS=linux GOARCH=arm GOARM=5 go build github.com/ev3go/ev3dev/examples/demo
This will leave a
demoexecutable (from the name of the package path) in your current directory. You can then copy the executable over to your brick using
LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.