We synthesized a new fluorescent probe 1O by attaching a diarylethene molecule to a functional group.