This molecular logic gate illustrated demonstrates the advancement from redox-fluorescent switches to multi-input logic gates with an electrochemical switch. This two-input AND logic gate incorporates a tertiary amine proton receptor and a tetrathiafulvalene redox donor. These groups, when attached to anthracene, can simultaneously process information concerning acid concentration and oxidizing ability of the solution.