/mainb: 1) pins on relays