Switching single azopyridine supramolecules in ordered arrays on Au(111).

4,4-Azopyridine trimers and 4-phenylazopyridine dimers have been reversibly switched in ordered arrays on Au(111). During the switching process, single weak C-H...N hydrogen bonds are broken and reformed.