Temperature sensor example