Skip to content

Instantly share code, notes, and snippets.

@beayeric
Created June 11, 2020 19:05
Show Gist options
  • Save beayeric/578148c643d78d334279f16d0b67d86d to your computer and use it in GitHub Desktop.
Save beayeric/578148c643d78d334279f16d0b67d86d to your computer and use it in GitHub Desktop.
if (text == "/estado") {
teclapower(); /// esta es la función de Pablo .
bot.sendMessage(chat_id, "El estado es:");
--------
if (text == "/estado") {
float h = dht.readHumidity();
float t = dht.readTemperature();
bot.sendMessage(chat_id, "El estado es:");
@beayeric
Copy link
Author

Gracias Moises, lo cargo y veo.

He estado revisando lo que has puesto. Eres un crack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment