IR remote only works on default firmware


#1

Hello! This is my 1st post on this forum, so don’t judge me if I did something wrong.

Anyway, here’s the deal: when I have the default FW flashed on the mBot, the IR remote works perfectly fine. However, when I make a custom program that also makes use of the remote, it just doesn’t work. Flashing back the default FW, the remote works, once again, perfectly fine. Here’s the test program I made to try it out:

Screenshot_1

Hope someone can help me and thanks in advance!


#2

That code works in my side.
Please make sure you have upload the program successfully.

And you are suggested to upload the a simple code like below to test if the uploaded program work.
image

If that is not working, refer to this link to test the main board.


#3

Figured it out, I’m dumb. The problem was that I wasn’t in Arduino mode, but trying that out now, it works. Sorry for wasting your time!


#4

It is Ok :grinning:


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.