Sol–gel encapsulated glucose oxidase arrays based on a pH sensitive fluorescent dye