Inkjet printing of resistive-type humidity sensor for harsh environments