mirror of
https://github.com/shouptech/tempgopher.git
synced 2026-02-03 08:39:43 +00:00
Change Gpio to GPIO
This commit is contained in:
parent
7214eb6685
commit
44f0358259
2 changed files with 4 additions and 4 deletions
|
|
@ -12,10 +12,10 @@ type Sensor struct {
|
|||
Alias string `yaml:"alias"`
|
||||
HighTemp float64 `yaml:"hightemp"`
|
||||
LowTemp float64 `yaml:"lowtemp"`
|
||||
HeatGpio int32 `yaml:"heatgpio"`
|
||||
HeatGPIO int32 `yaml:"heatgpio"`
|
||||
HeatPullup bool `yaml:"heatpullup"`
|
||||
HeatMinutes int32 `yaml:"heatminutes"`
|
||||
CoolGpio int32 `yaml:"coolgpio"`
|
||||
CoolGPIO int32 `yaml:"coolgpio"`
|
||||
CoolPullup bool `yaml:"coolpullup"`
|
||||
CoolMinutes int32 `yaml:"coolminutes"`
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ func Test_LoadConfig(t *testing.T) {
|
|||
Alias: "fermenter",
|
||||
HighTemp: 8,
|
||||
LowTemp: 4,
|
||||
HeatGpio: 5,
|
||||
HeatGPIO: 5,
|
||||
HeatPullup: true,
|
||||
HeatMinutes: 5,
|
||||
CoolGpio: 17,
|
||||
CoolGPIO: 17,
|
||||
CoolPullup: false,
|
||||
CoolMinutes: 10}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue