Why does an imported library stay black, not change it's color to orange and become available to the sketch. I have this issue with several of them.
I menu to SKETCH drop dow and select INCLUDE LIBRARY menu over and select MANAGE LIBRARIES find the one I wold like to use and use the install button to get it. Then I shut down the Arduino sketch software and restart it. On a new file, go to the Library menu and import the library. When trying to verify get the following error message.......
Arduino: 1.6.3 (Windows Vista), Board: "Arduino Uno"
Build options changed, rebuilding all
In file included from sketch_jun10a.ino:1:0:
C:\Users\Jesse\Documents\Arduino\libraries\RTClib/RTClib.h:12:24: error: expected ')' before 't'
DateTime (uint32_t t =0);
^
C:\Users\Jesse\Documents\Arduino\libraries\RTClib/RTClib.h:13:24: error: expected ')' before 'year'
DateTime (uint16_t year, uint8_t month, uint8_t day,
^
C:\Users\Jesse\Documents\Arduino\libraries\RTClib/RTClib.h:17:21: error: '__FlashStringHelper' does not name a type
DateTime (const __FlashStringHelper* date, const __FlashStringHelper* time);
^
C:\Users\Jesse\Documents\Arduino\libraries\RTClib/RTClib.h:17:42: error: ISO C++ forbids declaration of 'date' with no type [-fpermissive]
DateTime (const __FlashStringHelper* date, const __FlashStringHelper* time); ^
C:\Users\Jesse\Documents\Arduino\libraries\RTClib/RTClib.h:17:54: error: '__FlashStringHelper' does not name a type
DateTime (const __FlashStringHelper* date, const __FlashStringHelper* time);
^
this goes on for a few pages
here is the code
#include <RTClib.h>
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}