Need help with evb?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Global Rank
#11,141
Topics of expertise
ppa
gradien...
differe...
qt5-gui
page-bu...
automat...
netlify
hugo-th...
Location
Adelaide, South Australia
0 Stars 1 Forks Other 19 Commits 0 Opened issues

Description

EVB-specific functions for the ev3go ev3dev interface

Services available

!
?

Need anything else?

Contributors list

# 11,141
Go
Sublime...
netlify
hugo
18 commits

Gopherbrick

evb provides EVB-specific functions for the Go ev3dev interface

Build Status Coverage Status GoDoc

github.com/ev3go/evb depends on an ev3dev kernel 4.4.9-ti-rt-r25-11-ev3dev-bb.org or better.

Example code

package main

import ( "image" "image/draw" "time"

"github.com/ev3go/ev3dev/fb"
"github.com/ev3go/evb"

)

func main() { evb.LCD.Init(true) defer evb.LCD.Close()

// Render the gopherbrick to the screen.
draw.Draw(evb.LCD, evb.LCD.Bounds(), gopher, gopher.Bounds().Min, draw.Src)

time.Sleep(10 * time.Second)

}

var gopher = &fb.RGB565{ Pix: []uint8{ }, Stride: 440, Rect: image.Rectangle{ Min: image.Point{ X: 0, Y: 0, }, Max: image.Point{ X: 220, Y: 176, }, }, }

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.