bmx280smoketest

package
v3.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

README

'bmx280' smoke test

Verifies that two BME280/BMP280, 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 bmx280smoketest is leveraged by periph-smoketest to verify that two BME280/BMP280, 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(f *flag.FlagSet, 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