fermentord/internal/hw/pins_others.go
Søren Rasmussen 861d7211aa
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Use GPIO 17/27 depending on architecture
2024-06-17 17:47:25 +02:00

15 lines
260 B
Go

//go:build !arm
package hw
const (
pinDoorOpen = 17
pinFanPower = 22
pinCoolerPower = 23
pinHeaterPower = 24
pinLightsPower = 25
// GPIO21 is located at pin 13 on RPi 1B rev 1. Rev 2 and never boards
// has GPIO27 here.
pinOneWirePower = 27
)