mcp9808

package module
v0.0.0-...-0678d38 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: MIT Imports: 3 Imported by: 0

README

mcp9808

Go Report Card GoDoc

Deprecated. Use https://periph.io instead. As of 2019-04-02, MCP9808 support is in package "periph.io/x/periph/experimental/devices/mcp9808".

A Go package for communicating with Microchip's MCP9808 temperature sensor.

Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf

Documentation

Overview

Package mcp9808 provides an interface to the MCP9808 temperature sensor. Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/25095A.pdf

Deprecated: Use https://periph.io instead. As of 2019-04-02, MCP9808 support is in package "periph.io/x/periph/experimental/devices/mcp9808".

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCP9808

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

func New

func New() (*MCP9808, error)

func (*MCP9808) Check

func (m *MCP9808) Check() error

func (*MCP9808) Close

func (m *MCP9808) Close() error

func (*MCP9808) ReadTemp

func (m *MCP9808) ReadTemp() (float32, error)

func (*MCP9808) ReadUint16

func (m *MCP9808) ReadUint16(reg byte) (uint16, error)

Jump to

Keyboard shortcuts

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