ed: links to letz.dev
This commit is contained in:
parent
8ffad8e83a
commit
47a01363b5
@ -1,5 +1,9 @@
|
||||
#define fan_1 11
|
||||
#define fan_2 10
|
||||
#define red_1 11
|
||||
#define blu_1 10
|
||||
#define gre_1 9
|
||||
#define red_2 6
|
||||
#define blu_2 5
|
||||
#define gre_2 3
|
||||
|
||||
byte pines[] = {red_1, blu_1, gre_1, red_2, blu_2, gre_2};
|
||||
byte cant_pin;
|
||||
|
2
sensores/ir/control_remoto_IR/control_remoto_IR.ino
Executable file → Normal file
2
sensores/ir/control_remoto_IR/control_remoto_IR.ino
Executable file → Normal file
@ -1,5 +1,5 @@
|
||||
#include <IRremote.h>
|
||||
int RECV_PIN = 11;
|
||||
int RECV_PIN = 8;
|
||||
int LED1 = 2; // ROJO
|
||||
int LED2 = 3; // AZUL
|
||||
int LED3 = 4; // VERDE
|
||||
|
2
sensores/ir/ir_receiver2/ir_receiver2.ino
Executable file → Normal file
2
sensores/ir/ir_receiver2/ir_receiver2.ino
Executable file → Normal file
@ -2,7 +2,7 @@
|
||||
//Remember to install the IRremote library.
|
||||
#include <IRremote.h> //including infrared remote header file
|
||||
|
||||
int RECV_PIN = 11; // the pin where you connect the output pin of IR sensor
|
||||
int RECV_PIN = 8; // the pin where you connect the output pin of IR sensor
|
||||
IRrecv irrecv(RECV_PIN);
|
||||
decode_results results;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user