bme280smoketest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

README

'bme280' smoke test

Verifies that two BME280, one over I²C, one over SPI, can read roughly the same temperature, humidity and pressure.

It can also be leveraged to record the I/O to write playback unit tests. It is a good example to reuse to write other device driver unit test.

Documentation

Overview

Package bme280smoketest is leveraged by periph-smoketest to verify that two BME280, one over I²C, one over SPI, read roughly the same temperature, humidity and pressure.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmokeTest

type SmokeTest struct {
}

SmokeTest is imported by periph-smoketest.

func (*SmokeTest) Description

func (s *SmokeTest) Description() string

Description implements the SmokeTest interface.

func (*SmokeTest) Name

func (s *SmokeTest) Name() string

Name implements the SmokeTest interface.

func (*SmokeTest) Run

func (s *SmokeTest) Run(args []string) (err error)

Run implements the SmokeTest interface.

Jump to

Keyboard shortcuts

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