add events for PiFace switch
begin implements PiFace connector