Facile synthesis of a semiconducting bithiophene-azine polymer and its application for organic thin film transistors and organic photovoltaics