Skip to content

which pin is used to send the infrared signal to the ESP32? #1556

Answered by crankyoldgit
vilioren56 asked this question in Q&A
Discussion options

You must be logged in to vote
const uint16_t kIrLed = 18;  // ESP8266 GPIO pin to use. Recommended: 4 (D2).

You've told it to use GPIO18.

Look at https://www.google.com/search?q=ESP32+pinout&oq=ESP32+pinout and it should tell you where and what that pin does.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@crankyoldgit
Comment options

Answer selected by crankyoldgit
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants