coding problem

Post edit button problem is fixed: https://forum.sparkfun.com/viewtopic.php?f=15&t=37860

Newbie10:
Also had a spot of trauma as the total file could not be saved to Library directly as per Arduino’s download library-thing - the red block gave me a long story saying that the file name should not contain numbers, fleas and windscreenwipers. I needed to do the alternative and create a file (which I named Adafruit_ads1015) , move all the necessary files in and THEN pitched it into the cauldron as instructed before it worked.

I thought my post was clear ... yes the folder name must match the *filename*.h and *filename*.cpp. It's a mystery why people store the GitHub files the way they do, incompatible with the auto-import function and incompatible w/the Arduino folder&file naming convention (which has been around a long time now).

Newbie10:
What’s interesting is that my (new) (correct) library file is now at bottom of the list (Sketch / Import Library) in the “Contributed” section and will not upload to a sketch automatically or list in the usual list of libraries - it keeps sucking up the ADS1015 number WITHOUT the shopping basket.

I'm not sure what you mean by underlined above. For any library *you add* to your Arduino list of libraries, you'll have to have a #include *library_name* statement at the top of your sketch in order for it to be used. You can type that in manually or open the IDE w/the sketch you want, and then use the import library tool (that I showed in pic above).

Newbie10:
Is this perhaps because I have the existing (naughty) library called “ADS1015” in the main section/list of libraries and that there’s conflict?

Probably. I think it best to keep ones you add separate from the ones that are part of the "Arduino core" because when you upgrade from Arduino 1.0.5 to something else in the future, I don't know what'll happen to that folder. I'm fairly sure the libraries folder in the folder w/my code won't be touched.

So now that the code runs … does it work ?

On re-reading my post it’s not very clear that YES, my sketch runs, now that the corrected library is coupled/linked correctly. So thanks for the help - really appreciated.

Regarding the libraries and tying them in, I am still experiencing hassles. The ARDUINO instructions are clear but don’t necessarily work with my machine every time - is someone going to hit me for using Linux again?

For any library you add to your Arduino list of libraries, you’ll have to have a #include library_name statement at the top of your sketch in order for it to be used. You can type that in manually or open the IDE w/the sketch you want, and then use the import library tool (that I showed in pic above).

Doesn't often work : perhaps my fingers, perhaps Linux, perhaps flaws I don't know about.

I sometimes find that replies/‘help’ is a bit mis-/disguided - perhaps intentionally or otherwise. I can understand that an Experienced may want One to research/investigate/learn. But sometimes a simple, clear, direct answer helps a lot more.

I for one, would appreciate DIRECT help a lot more, e.g. a straight up-and-down solution given directly in the sketch. It’s easy enough to compare previous to corrected to find the answer to mistakes made.

But the long and the short is that my sketch runs thanks to all the help given. Still not perfectly, but now I can fly and correct/modify/add…

And thanks, Valen : I thought the EDIT problem was mine only.