Arduino Doorbell project, common code library for both the chime and button units