@Eko-Febrian not sure I understand the question but the gas sensor example might be what you are looking for.