0
C:\Users\Field\Documents\Arduino\Adafruit_TCS34725-master\examples\tcs34725autorange\tcs34725autorange.ino:2:31: fatal error: Adafruit_TCS34725.h: No such file or directory
 #include "Adafruit_TCS34725.h"
 ^
compilation terminated.

exit status 1 Error compiling.

Nick Gammon
38.9k13 gold badges69 silver badges125 bronze badges
asked Jan 16, 2016 at 4:52
2
  • Did you try installing the library? Commented Jan 16, 2016 at 5:21
  • I got it, I goofed on installing the library. Commented Jan 16, 2016 at 5:34

1 Answer 1

1

You are trying to use a library, but it is either not installed, or is installed in the wrong location. A library, in this context, is code that supports a sensor or some other hardware or that accomplishes a task. We call them libraries because we can share and reuse them – like borrowing a book from a library.

It looks like you're trying to get the Adafruit TCS34725 color sensor going. The official source of the library is in the Adafruit's GitHub repository for the TCS34725 and there is a link at the bottom of the README for how to install a library. I'll bet that will get you back on track.

answered Jan 16, 2016 at 5:27
1
  • 1
    I got it, messed up on installing the library Commented Jan 16, 2016 at 6:22

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.