Search found 1 match

by sunshine_bunnygirl17
Thu Aug 17, 2023 8:59 pm
Forum: ESP8266
Topic: Problem with PWM and IRremote on ESP8266
Replies: 0
Views: 9495

Problem with PWM and IRremote on ESP8266

Hello, I have encountered a problem in my code for ESP8266 (NodeMCU), it's a code that uses IR transmitter to control a diode at the desired PWM level. void setup() { pinMode(D1, OUTPUT); //LED pinMode(D2, INPUT); // TSOP1738 } void loop() { if (IrReceiver.decode()) { switch (IrReceiver.decodedIRDat...