Invalid library found...

Just installed IDE 1.6.6 32 bit on Linux Kubuntu 14.04, when I upload a sketch to Nano I get:

Sketch uses 4,402 bytes (14%) of program storage space. Maximum is 30,720 bytes.
Global variables use 234 bytes (11%) of dynamic memory, leaving 1,814 bytes for local variables. Maximum is 2,048 bytes.
Invalid library found in /home/jca/sketchbook/libraries/attiny_nRF24L01: /home/jca/sketchbook/libraries/attiny_nRF24L01
Invalid library found in /home/jca/sketchbook/libraries/tmp: /home/jca/sketchbook/libraries/tmp
Invalid library found in /home/jca/sketchbook/libraries/Hardware: /home/jca/sketchbook/libraries/Hardware
Invalid library found in /home/jca/sketchbook/libraries/attiny_nRF24L01: /home/jca/sketchbook/libraries/attiny_nRF24L01
Invalid library found in /home/jca/sketchbook/libraries/tmp: /home/jca/sketchbook/libraries/tmp
Invalid library found in /home/jca/sketchbook/libraries/Hardware: /home/jca/sketchbook/libraries/Hardware

How to fix ? :frowning:

Seems to be working OK otherwise.

Oops, here’s my sketch. :roll_eyes:

int adcnt;
float adcv;
float tempC, tempF;
int adavg[8];

void setup()
{
  Serial.begin(9600);
  analogReference(INTERNAL);
  for(int i = 0;i < 16;i++)
    adavg[i] = analogRead(0);
}

void loop()
{
  for(int j = 0;j < 8;j++)
  {
    adcnt = 0;
    for(int i = 0;i < 16;i++){
      adcnt += analogRead(0);
      delay(2);
    }  
    adavg[j] = adcnt >>= 4;
    Serial.print(adavg[j]); Serial.print("  ");
    adcnt = 0;
    for(int k = 0;k < 8;k++)
      adcnt += adavg[k];
    adcnt >>=3;  
    adcv = (adcnt - 465) * 1.1 / 1023;
    tempC =adcv  * 100; tempF = tempC * 9 / 5 + 32; 
    
    Serial.print(adcv,3); Serial.print("  ");
    Serial.print(tempC,1); Serial.print("  ");
    Serial.println(tempF,1);
    delay(5000);
  }  
}

You should probably move those folders/files out of the libraries folder.

Hi johnwasser & tnx for reply, did that and fixed, but still get:

WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'

Sketch uses 4,402 bytes (14%) of program storage space. Maximum is 30,720 bytes.
Global variables use 234 bytes (11%) of dynamic memory, leaving 1,814 bytes for local variables. Maximum is 2,048 bytes.

Didn't have this in IDE 1.6.4, wonder why?
Also, what to do if my archived sketches need those librarys?
BTW, I still have IDE 1.0.5 installed & use it for ISP to small chips like tiny85, could that be a problem?

outsider:

WARNING: Category '' in library OneWire is not valid. Setting to 'Uncategorized'

Didn't have this in IDE 1.6.4, wonder why?

That warning can be safely ignored. It is caused by the author of the library not specifying a category in their library.properties file which is used only for organizing libraries by topic in Library Manager. This warning is newly added in Arduino IDE 1.6.6.

If you are using the OneWire library from: GitHub - PaulStoffregen/OneWire: Library for Dallas/Maxim 1-Wire Chips it has already been fixed you will want to install from master rather than the version 2.3 release.