Figure 6: Solvatochromic AND logic gates.

(a) Schematic of a double-layer protected PCDA-derived PDA film for an AND logic gate. (b) Photographs of the sensor film after exposure to H2O, THF and 20% aqueous THF. (c) A two-input solvatochromic AND logic gate. (d) Colorimetric response of the sensor film after exposure to various volume compositions of water in THF.