Aromatic polymers with side oxadiazole rings as luminescent materials in LEDs