Macroscopic switches constructed through host-guest chemistry.