removing robot ir remote library

how do I remove the robot ir remote library from my Arduino?

delete the folder in your operating system (under arduino/libraries, library name), restart IDE.. done. I will say, no harm in keeping it around bar a tiny bit of storage on your hard drive. unless you add #include libraryname to your program, it wont impact your current/new program at all.

FullOfBadIdeas:
delete the folder in your operating system (under arduino/libraries, library name), restart IDE.. done. I will say, no harm in keeping it around bar a tiny bit of storage on your hard drive. unless you add #include libraryname to your program, it wont impact your current/new program at all.

now I have removed it, but the IR remote sketch now has this error message

well---if you delete the libraries from your hard drive, your compiler wont be able to use them :slight_smile: you cant have any pudding unless you eat your meat...

does the top of your current sketch have anything that looks like this?

#include <IRremote.h>
#include <IRremoteInt.h>

those are libraries calls. if the library is no longer on your hard drive, the program wont compile. remove any library calls that point to libraries you have removed. it should compile (unless of course, you program actually needs those libraries to run).

FullOfBadIdeas:
well---if you delete the libraries from your hard drive, your compiler wont be able to use them :slight_smile: you cant have any pudding unless you eat your meat...

does the top of your current sketch have anything that looks like this?

#include <IRremote.h>
#include <IRremoteInt.h>

those are libraries calls. if the library is no longer on your hard drive, the program wont compile. remove any library calls that point to libraries you have removed. it should compile (unless of course, you program actually needs those libraries to run).

those 2 were included but surely the robot IR has to be removed to allow the main IR command to work without conflict. I am desperate to get the IR working.

It now has the following error message with those 2 removed (and programming the IR is required)

"IrRemote.ino:6:22: fatal error: IRremote.h: No such file or directory
compilation terminated.
Multiple libraries were found for "IRremote.h"

Error compiling."

now I have removed it

Obviously, you have NOT!

"IrRemote.ino:6:22: fatal error: IRremote.h: No such file or directory
compilation terminated.
Multiple libraries were found for "IRremote.h"

You need to send your computer to someone that has a clue. You can't possibly have two and no IRremote.h files at the same time.

/*
 * IrRemote: demonstrates translating the remote codes to a human readable format.
 */

// https://github.com/shirriff/Arduino-IRremote
#include <IRremote.h>

// the pin used for the infrared receiver 
int RECV_PIN = 10;

// Create an instance of the IRrecv library
IRrecv irrecv(RECV_PIN);

// Structure containing received data
decode_results results;

// Used to store the last code received. Used when a repeat code is received
unsigned long LastCode;

void setup()
{
  Serial.begin(9600);
  irrecv.enableIRIn(); // Start the receiver
}

void loop() {
  // Check for a new IR code
  if (irrecv.decode(&results)) {
    //Serial.println(results.value, HEX);
    
    // Cet the button name for the received code
    irHandleInput(results.value);
    // Start receiving codes again
    irrecv.resume();
  }
}


/********************************************************************************
IR remote functions
********************************************************************************/

/* Function returns the button name relating to the received code */
void irHandleInput(unsigned long code)
{
  
  /* Character array used to hold the received button name */
  char CodeName[3];
  /* Is the received code is a repeat code (NEC protocol) */
  if (code == 0xFFFFFFFF)
  {
    /* If so then we need to find the button name for the last button pressed */
    code = LastCode;
  }
  /* Save this code incase we get a repeat code next time */
  LastCode = code;
  
  /* Find the button name for the received code */
  switch (code)
  {
    /* Received code is for the POWER button */
  case 0xFFA25D:
    strcpy (CodeName, "PW");
    break;
    /* Received code is for the MODE button */
  case 0xFF629D:
    strcpy (CodeName, "MO");
    break;
    /* Received code is for the MUTE button */
  case 0xFFE21D:
    strcpy (CodeName, "MU");
    break;
    /* Received code is for the REWIND button */
  case 0xFF22DD:
    strcpy (CodeName, "RW");
    break;
    /* Received code is for the FAST FORWARD button */
  case 0xFF02FD:
    strcpy (CodeName, "FW");
    break;
    /* Received code is for the  PLAY/PAUSE button */
  case 0xFFC23D:
    strcpy (CodeName, "PL");
    break;
    /* Received code is for the EQ button */
  case 0xFFE01F:
    strcpy (CodeName, "EQ");
    break;
    /* Received code is for the VOLUME - button */
  case 0xFFA857:
    strcpy (CodeName, "-");
    break;
    /* Received code is for the VOLUME + button */
  case 0xFF906F:
    strcpy (CodeName, "+");
    break;
    /* Received code is for the number 0 button */
  case 0xFF6897:
    strcpy (CodeName, "0");
    break;/* Received code is for the RANDOM button */
  case 0xFF9867:
    strcpy (CodeName, "RN");
    break;
    /* Received code is for the UD/SD button */
  case 0xFFB04F:
    strcpy (CodeName, "SD");
    break;
    /* Received code is for the number 1 button */
  case 0xFF30CF:
    strcpy (CodeName, "1");
    break;
    /* Received code is for the number 2 button */
  case 0xFF18E7:
    strcpy (CodeName, "2");
    break;
    /* Received code is for the number 3 button */
  case 0xFF7A85:
    strcpy (CodeName, "3");
    break;
    /* Received code is for the number 4 button */
  case 0xFF10EF:
    strcpy (CodeName, "4");
    break;
    /* Received code is for the number 5 button */
  case 0xFF38C7:
    strcpy (CodeName, "5");
    break;
    /* Received code is for the number 6 button */
  case 0xFF5AA5:
    strcpy (CodeName, "6");
    break;
    /* Received code is for the number 7 button */
  case 0xFF42BD:
    strcpy (CodeName, "7");
    break;
    /* Received code is for the number 8 button */
  case 0xFF4AB5:
    strcpy (CodeName, "8");
    break;
    /* Received code is for the number 9 button */
  case 0xFF52AD:
    strcpy (CodeName, "9");
    break;
    /* Received code is an error or is unknown */
  default:
    strcpy (CodeName, "??");
    break;
  }

  Serial.println(CodeName);
}

Each library has example files. Delete the code you have now, start a new using the example from the library you want to test.

No one here has offered the solution to how to remove this library. You can't just go into the libraries folder under arduino. That only works for libraries that you installed yourself. The standard libraries are not in that folder. Can someone please give an actual answer to this?