basestation

package
v0.0.0-...-4f21c4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(data chan *t.Measurement)

start the sensor as a new Gorouting, and return a Channel for it to spit out measurements

Types

type Serial

type Serial struct {
	File    *os.File
	Scanner *bufio.Scanner
}

func SerialOpen

func SerialOpen() *Serial

func (*Serial) Close

func (s *Serial) Close()

func (*Serial) Scan

func (s *Serial) Scan() bool

func (*Serial) Text

func (s *Serial) Text() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL