Это видео недоступно.
Сожалеем об этом.
How to Use an IR Remote in Tinkercad
HTML-код
- Опубликовано: 15 авг 2024
- This video will help you use an IR Remote to control components like LEDs, Servos, and DC motors. You can find the links for the code and library below.
Link to my Tinkercad Circuit:
www.tinkercad....
Link to the Library:
github.com/z3t...
Doesn't work the only code the remote sends is FFFFFFFFF.
sammme
code that works in 2024:
#include
const int rcvPin=11;
IRrecv irrecv(rcvPin);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop() {
if(IrReceiver.decode()) {
auto value= IrReceiver.decodedIRData.decodedRawData;
Serial.println(value, HEX);
}
IrReceiver.resume(); // Receive the next value
delay(100);
}
#include
int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.resume(); // Receive the next value
}
void loop() {
if (irrecv.decode(results)) {
Serial.printIn(results.value, HEX);
irrecv.resume();
}
delay(100);
}
tu mama
Nowadays the remote control only displays FFFFFF on any button you press, is this error just me?
no, same here
@@squidi3189 I solved my problem by downgrading the version of IRremote.h, try using version 3.6.0, version 4.1.2 simply doesn't work for me, going back to the old version was perfect!
yea same idk what the hell is going on
10/10 Video Would Watch Again, Thanks!
Did you watch again though
@@basantagoswami yes
all are ok but where do we find the code
Excelente, gracias
Am great full of what I saw, please I wish to ask which app did u use for connecting?
what does it look like irl?
How to rotate Arduino
Thanks
Thank bro, 👍👍👍
I have an issue whenever I try to get the hex value from the decode it gives me a 0 instead of the FF#####, please help!
It could be a wiring issue if you're using the code I have
Thanks
NICE
its out of focus view it before downloading. cannot read much.
Thanks