Created
June 11, 2020 19:05
-
-
Save beayeric/578148c643d78d334279f16d0b67d86d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:"); | |
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
Estoy probando este código, la idea es eliminar avisos del bot por valores puntuales superiores e inferiores a los valores límites.