In Chapter 11, C++ and Libraries, I am having problems compiling the below program, I have Windows 10 and IDE ver 1.6.6, after trying to compile I get this error "invalid library found in C:\users\dick\documents\arduino\libraries\simple_flasher_examples:
What files have you got in C:\users\dick\documents\arduino\libraries\simple_flasher_examples ?
That is a very unusual name for a library folder. If you are going to include Flasher.h then the library folder would normally be called C:\users\dick\documents\arduino\libraries\Flasher
Programming Arduino by Simon Monk, page 150 recommended the name "simple flasher example", I think, regardless of the name, it will not compile and I don't understand why the statement in the IDE "invalid library found in C:\
I am sorry UKHeliBob, I missed the question, the file is simple_flasher_example.ino and I thought it was used to call the Flash.h which is a C++ program and it was my understanding that the Arduino IDE cannot be used with a .h code, hey I am just learning:)
rlclement:
In Chapter 11, C++ and Libraries, I am having problems compiling the below program, I have Windows 10 and IDE ver 1.6.6, after trying to compile I get this error "invalid library found in C:\users\dick\documents\arduino\libraries\simple_flasher_examples:
In many cases books, tutorials and libraries are written for a certain version of the Arduino-IDE and the descriptions, code or libraries may fail with later versions of the Arduino IDE.
So I'd recommend: Find out which version of the Arduino-IDE was used for the examples and libraries provided with your book, then download, install and use the same version of the Arduino-IDE when trying out the examples!