changeset 104:0b0350cbf544

rev2 pin names Ignore-this: 6bd747872c316e79b851e9cb47d4d1ab
author drewp@bigasterisk.com
date Sat, 31 Aug 2013 16:09:48 -0700
parents 8734491622f2
children 39319305d639
files service/laundry/laundry.go
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/service/laundry/laundry.go	Sat Aug 31 14:58:25 2013 -0700
+++ b/service/laundry/laundry.go	Sat Aug 31 16:09:48 2013 -0700
@@ -61,11 +61,11 @@
 
 func SetupIo() Pins {
 	pins := Pins{
-		InMotion:		GetPin("GPIO0"), // pi rev2 calls it GPIO2
-		InSwitch3:		GetPin("GPIO1"), // pi rev2 calls it GPIO3
+		InMotion:		GetPin("GPIO2"), // pi rev2 calls it GPIO2
+		InSwitch3:		GetPin("GPIO3"), // pi rev2 calls it GPIO3
 		InSwitch1:		GetPin("GPIO4"),
 		InSwitch2:		GetPin("GPIO17"),
-		OutLed:			GetPin("GPIO21"), // pi rev2 calls it GPIO27
+		OutLed:			GetPin("GPIO27"), // pi rev2 calls it GPIO27
 		OutSpeaker:		GetPin("GPIO22"),
 		InDoorClosed:	GetPin("GPIO10"),
 		OutStrike:      GetPin("GPIO9"),