PKGBUILD/pkg/sensor/dht22.go

22 lines
413 B
Go

package sensor
import (
"log"
"git.cryptic.systems/fh-trier/go-flucky/pkg/types"
)
type DHT22Sensor struct {
*types.Sensor
}
func (s *DHT22Sensor) ReadHumidity() (*types.Humidity, error) {
log.Println("DHT11 Read Method not yet implemented")
return nil, nil
}
func (s *DHT22Sensor) ReadTemperature() (*types.Temperature, error) {
log.Println("DHT22 Read Method not yet implemented")
return nil, nil
}