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
int pulM1=5; //define Pulse pin M1 | |
int dirM1=6; //define Direction pin M1 | |
int pulM2=¿?; //define Pulse pin M2 | |
int dirM2=¿?; //define Direction pin M2 | |
void setup() { | |
pinMode (pulM1, OUTPUT); | |
pinMode (dirM1, OUTPUT); |
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(); |