python - working

bridge turns the led on/off