I have a problem with sending a signal #1188
Replies: 1 comment 1 reply
-
Why do not name the variable |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am newbie and maybe I'm stupid or blind and didn’t see that there was already an answer, but i have a problem with sending a signal, the IR led does not light up, but there are no problems with the pins on the Arduino nano or led (I use the IRremote library).
I used a lot of sketches and different IR cods, but the IR led never came on, and yes, I looked through the camera.
Here is the last sketch I used, thanks in advance. (Forgot to add that I used library version 4.2.0 and 3.3.0)
#include <IRremote.h>
int IR_Pin = 3;
unsigned long samsungPowerCode = 0xE0E040BF;
IRsend irsend;
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Sending Samsung TV Power Code");
irsend.sendSAMSUNG(samsungPowerCode, 32);
delay(1000);
}
Beta Was this translation helpful? Give feedback.
All reactions