Replies: 2 comments
-
@AKBaltic So the UART hardware must always be set with the |
Beta Was this translation helpful? Give feedback.
-
Thank you. Most likely you are right. I also tried this sketch (https://github.com/sui77/rc-switch/tree/master/examples/ReceiveDemo_Simple). The situation is the same: doesn't work without activation the Serial.begin(). How then to be? The Serial.begin() takes a lot of memory and machine time to execute. |
Beta Was this translation helpful? Give feedback.
-
In discussion on https://github.com/Arduino-IRremote/Arduino-IRremote/discussions/943 , I have already asked a question none of the Arduino-IRremote examples work on a LGT8F328 without activating the Serial.begin(). Only I don’t understand if this is a problem with Arduino-IRremote libraries or with lgt8fx libraries.
Тhe question is as follows: none of the Arduino-IRremote receive examples work on a LGT8F328 without activating the Serial.begin(). Even the LED doesn't flash.
// Serial.begin(115200); - does not work.
Serial.begin(115200); - it works.
On the Arduino Nano, everything works with and without the Serial.
Мaybe because of the difference in 16 MHz and 32 MHz. Somewhere it is necessary to change the prescaler, and where I do not know. I ask for help.
Beta Was this translation helpful? Give feedback.
All reactions