ssd1306smoketest

package
Version: v2.2.0+incompatible Latest Latest
Warning

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

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

README

'ssd1306' smoke test

Verifies that two SSD1306, one over I²C, one over SPI, can display the same output.

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 ssd1306smoketest is leveraged by periph-smoketest to verify that two SSD1306, one over I²C, one over SPI, can display the same output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SmokeTest

type SmokeTest struct {
	// contains filtered or unexported fields
}

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.

func (*SmokeTest) String

func (s *SmokeTest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL