temper

package
v0.0.0-...-fa2c7a0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceTemperature

type DeviceTemperature struct {
	Device      *usb.Device
	Temperature float64
}

func GetTemperature

func GetTemperature() (DeviceTemperature, error)

GetTemperature is a function that tries to find first USB TEMPer device on maching and read the current temperature from there Returns temperature in Celcius and error if it occured

func GetTemperatures

func GetTemperatures() ([]DeviceTemperature, error)

GetTemperatures is a function that tries to find all USB TEMPer devices on maching and read the current temperatures from all devices Returns temperatures in Celcius and error if it occured

Jump to

Keyboard shortcuts

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