Development of sensors based in MEMS with mechanochromic response