Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sensor ¶
type Sensor struct { Id string // Identifier for Sensor, e.g. "left" or "right" Chan int // Sensor Channel is connected to on the MCP3008 chip Value int // Last measured value Time time.Time // Time when value was measured }
Sensors represents a soil sensors that is connected to the MCP3008 chip.
Click to show internal directories.
Click to hide internal directories.