Hi I really want to make a this project I made everything but when I upload the code Arduino ide is saying that irremote.h file or library not found.i have already installed irremote but I tried to install irremote.h but in library there is no file like irremote.h please tell me what to do
when i compile the program it says 'IRrecv' does not name a type please can clarify that
Thank You! so much @MYTECTUTOR . Your video tutorial is a big help to me.
Hi there; I have one question : What "error: 'RECV_PIN' was not declared in this scope"
Check the initialization part of your code and make sure you have declared the pin number for the output of the IR receiver.
@@mytectutor Problem Solved. Thank you very much. Problem is "One word mistake" IRrecv "IRecv"
This code RUNNING :) Thanks
#include
int RECV_PIN = 3; //Kızılötesi alıcısı
#define code1 16718055 // kumanda 2 nolu tuş
#define code2 16730805 // kumanda 8 nolu tuş
#define code3 16734885 // kumanda 6 nolu tuş
#define code4 16716015 // kumanda 4 nolu tuş
#define code5 16726215 // kumanda 5 nolu tuş
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
irrecv.enableIRIn(); //Kızılötesi modülünü aç.
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
}
void loop() {
if (irrecv.decode(&results)) {
unsigned int value = results.value;
switch(value) {
case code1: //ileri tuşu 2 nolu buton
digitalWrite(13,HIGH);
digitalWrite(12,LOW);
digitalWrite(11,LOW);
digitalWrite(10,HIGH);
break;
case code2: //geri tuşu 8 nolu buton
digitalWrite(13,LOW);
digitalWrite(12,HIGH);
digitalWrite(11,HIGH);
digitalWrite(10,LOW);
break;
case code3: //sağ tuşu 6 nolu buton
digitalWrite(13,HIGH);
digitalWrite(12,HIGH);
digitalWrite(11,HIGH);
digitalWrite(10,LOW);
break;
case code4: //sol tuşu 4 nolu buton
digitalWrite(13,HIGH);
digitalWrite(12,LOW);
digitalWrite(11,LOW);
digitalWrite(10,LOW);
break;
case code5: //durdur tuşu 5 nolu buton
digitalWrite(13,LOW);
digitalWrite(12,LOW);
digitalWrite(11,LOW);
digitalWrite(10,LOW);
break;
}
irrecv.resume(); // sonraki komutları algıla
}
}
Nice explanation sir
well done Mr
thanks.
Hi I really want to make a this project I made everything but when I upload the code Arduino ide is saying that irremote.h file or library not found.i have already installed irremote but I tried to install irremote.h but in library there is no file like irremote.h please tell me what to do
its so interesting brother
How to get information about code of different remote
U helped me out
Thanks
Where is the coding
thx
code plaese
nice project
Thanks...pliz don't forget to subscribe to my channel
mytectutor where is the code
Watch the video beginning from 5:40 u'll see the code
Good
pliz subscribe to my channel
Subscribed long ago
but i don't see u among my subscribers. Is your identity private?
May be private! I dont know how to set it being private.
But my youtube writes subscribed on your channel.
ok
Remote control ka program sir kha se mile ga
code please
Its asmr lol
do u want me to subscribe