In on of my projects i am using sparkfuns MicrOLED library. Downloaded it from github, installed as usual but no code calling that library compiles. Error is SPF_MicrOLED.h no such file or directory.

It is strange as the library is installed, example sketches are in the examples menu but they don`t want to compile ether, same error. Not sure what to do. Tried also to rename microled library folder but same error.

  • First, like most all of us, I started with the Blink program. It is the first way I could see how the IDE worked. Compile, upload, observe. It would be very helpful if you could let us know how that acts. – SDsolar Nov 16 '17 at 2:19
  • The question is fine and perfectly clear as it encapsulates the obvious problem of mistyping the name of the library which has been identified below. That might not be the only problem, but it is a problem that makes a perfectly valid question. – Chris Stratton Nov 18 '17 at 18:32

Error is SPF_MicrOLED.h no such file or directory.

That is to be expected because the library doesn't contain a file named SPF_MicrOLED.h.

It does contain a file named SFE_MicroOLED.h. Use the correct filename in your #include and the problem will be solved.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.