Documentation
¶
Overview ¶
Package evb provides evb-specific and higher level access to the ev3dev control and sensor drivers.
Index ¶
Constants ¶
View Source
const ( // LCDWidth is the width of the LCD screen in pixels. LCDWidth = 220 // LCDHeight is the height of the LCD screen in pixels. LCDHeight = 176 // LCDStride is the width of the LCD screen memory in bytes. LCDStride = 440 )
Variables ¶
View Source
var LCD = ev3dev.NewFrameBuffer("/dev/fb0", fb.NewRGB565With, LCDWidth, LCDHeight, LCDStride)
LCD is the draw image used draw directly to the evb LCD screen. Drawing operations are safe for concurrent use. It must be initialized before use.
View Source
var Speaker = ev3dev.NewSpeaker("/dev/input/by-path/platform-evb-sound-event")
Speaker is a handle to the evb speaker. It must be initialized before use.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
examples
|
|
gopherbrick
gopherbrick demonstrates use of the evb screen.
|
gopherbrick demonstrates use of the evb screen. |
Click to show internal directories.
Click to hide internal directories.