Synthesis and characterization of thermochromic thiophene copolymers containing pyrene groups