Fig. 1

General reaction scheme and example reaction. a Scheme for the modification of semiconducting polymers containing either fluorinated benzotriazole or benzothiadiazole comonomers with a thiol or alcohol. b Synthesis of P1-SR from two different strategies: (i) 9-(9-heptadecanyl)−9H-carbazole-2,7-diboronic acid bis(pinacol) ester, Pd(PPh3)4, toluene, Na2CO3 (aq), 120 °C 3 days. (ii) 120 °C 30 min (microwave), excess Na2CO3, 3:1 (v:v) Chlorobenzene (CB):DMF