Keyestudio 4WD Bluetooth Multi-functional Car Manual page 44

Hide thumbs Also See for 4WD Bluetooth Multi-functional Car:
Table of Contents

Advertisement

int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;
void setup()
{
Serial.begin(9600);
irrecv.enableIRIn(); // Start the receiver
}
void loop() {
if (irrecv.decode(&results)) {
Serial.println(results.value, HEX);
irrecv.resume(); // Receive the next value
}
}
*******************************************************************************
Result
In this project, we need to use a IR remote control which has 17 functional key and its launching distance is 8 meters at most, proper to control various devices
indoors. This project is actually to decode remote control signal. After connection and uploading codes, aim at IR receiving module and press the key, finally you
can
see
corresponding
codes.
keyestudio
If
you
press
the
key
too
www.keyestudio.com
long,
it
will
show
messy
codes
easily
as
shown
in
bellow
figure.
42

Advertisement

Table of Contents
loading

Related Products for Keyestudio 4WD Bluetooth Multi-functional Car

Table of Contents