I recently made a code to control servo motor with TSOP sensor. i made the basic code to decode the remote codes through Serial Monitor. it worked completely fine until i included servo library and initialised servo motor in my code, ir sensor started sending unknown random codes non stoppingly! i can’t use the remote because of those false random codes. here is a screenshot of how that looks in serial monitor when i upload the code and open the serial monitor:
click this link to view the image
Somebody please help.
Source: Windows Questions C++