Molecular switches reversibly change isomeric configuration upon external stimuli. Chemically bound monolayer on electrodes can allow for adding multifunctionality to devices. As a proof-of-concept this approach is employed in a light emitting diode.