Documentation ¶
Index ¶
Constants ¶
View Source
const ( ULTRALOWPOWER byte = iota STANDARD HIGHRES ULTRAHIGHRES )
View Source
const CAL_AC1 byte = 0xAA
View Source
const CAL_AC2 byte = 0xAC
View Source
const CAL_AC3 byte = 0xAE
View Source
const CAL_AC4 byte = 0xB0
View Source
const CAL_AC5 byte = 0xB2
View Source
const CAL_AC6 byte = 0xB4
View Source
const CAL_B1 byte = 0xB6
View Source
const CAL_B2 byte = 0xB8
View Source
const CAL_MB byte = 0xBA
View Source
const CAL_MC byte = 0xBC
View Source
const CAL_MD byte = 0xBE
View Source
const CONTROL = 0xF4
View Source
const I2C_ADDR = 0x77
View Source
const PRESSURE_DATA = 0xF6
View Source
const READ_PRESSURE_CMD = 0x34
View Source
const READ_TEMP_CMD = 0x2E
View Source
const TEMP_DATA = 0xF6
View Source
const TO_INCHES_MERCURY = 3386.389
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
func (*Device) InitCustomAddr ¶
func (*Device) ReadPressure ¶
Click to show internal directories.
Click to hide internal directories.