IR Remote breaks LCD Display

Hey everyone, I'm currently trying to hook up an LCD and an IR remote so that I can control what is onscreen with the remote. I have no issues hooking up the LCD and using lcd.print() to output things to the screen. Although when I add line 3 of my code (#include <IRremote.h>) the print statement that I do in the setup method (lcd.print(evalEnum(Jack))) does not get outputted to the display. Here is the link to my github where my code is. I currently do not have the IR receiver set up on my breadboard, although I am having issues understanding why adding an import would break my LCD output. (Without the IRremote import the code works fine).

what's your Arduino ?

Arduino uno with a starter kit, just using the supplies in there

OK

what happened to index 3 ?

wins[0](Jack, 0);
  wins[1](Chris, 0);
  wins[2](Mason, 0);
  wins[4](Will, 0);
  wins[5](Evan, 0);
  wins[6](Nick, 0);
  wins[7](Declan, 0);
  wins[8](Mehdi, 0);


  avgCups[0](Jack, 0);
  avgCups[1](Chris, 0);
  avgCups[2](Mason, 0);
  avgCups[4](Will, 0);
  avgCups[5](Evan, 0);
  avgCups[6](Nick, 0);
  avgCups[7](Declan, 0);
  avgCups[8](Mehdi, 0);

  gamesPlayed[0](Jack, 0);
  gamesPlayed[1](Chris, 0);
  gamesPlayed[2](Mason, 0);
  gamesPlayed[4](Will, 0);
  gamesPlayed[5](Evan, 0);
  gamesPlayed[6](Nick, 0);
  gamesPlayed[7](Declan, 0);
  gamesPlayed[8](Mehdi, 0);

just fixed that error and it fixed the import breaking everything, absolute legend thank you hopefully the sensor will work when I try to put it in now.

:wink: sometimes the devil is not where you look

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