Using MKR1000 in a doorbell circuit and controlling the chime