Restroom Status with Pi

#Light pins#serverRoomGPIO.setup(6,GPIO.OUT)#Floor2BoysRestRoomGPIO.setup(19,GPIO.OUT)#Floor2MeetHall1GPIO.setup(21,GPIO.OUT)#Floor2MeetHall2GPIO.setup(22,GPIO.OUT)#Floor3BoysRestRoomGPIO.setup(26,GPIO.OUT)#Floor1MeetHall1GPIO.setup(27,GPIO.OUT)#Floor1BoysRestRoomGPIO.setup(24,GPIO.OUT) #Define some variablescount1 = 0count2 = 0count3 = 0count4 = 0count5 = 0count6 = 0count7 = 0 pollTime … Continue ReadingRestroom Status with Pi