17 lines
264 B
Go
17 lines
264 B
Go
package sensor
|
|
|
|
import (
|
|
"log"
|
|
|
|
"git.cryptic.systems/fh-trier/go-flucky-server/pkg/types"
|
|
)
|
|
|
|
type DHT22Sensor struct {
|
|
*types.Sensor
|
|
}
|
|
|
|
func (s *DHT22Sensor) Read() (interface{}, error) {
|
|
log.Println("DHT22 Read Method not yet implemented")
|
|
return nil, nil
|
|
}
|