Keyestudio Smart Little Turtle Robot V3 Manual page 111

Table of Contents

Advertisement

www.keyestudio.com
by the measured value? We could operate an experiment to affirm. Attach
an LED to D3, then press the keys of remote control to make LED light up
and off.
/*
keyestudio smart turtle robot
lesson 6.2
IRremote
http://www.keyestudio.com
*/
#include <IRremote.h>
int RECV_PIN = A1;//define the pin of IR receiver as A1
int LED_PIN=3;//define the pin of LED as pin 3
int a=0;
IRrecv irrecv(RECV_PIN);
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents