A heterometallic macrocycle as a redox-controlled molecular hinge.