Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Fatal error: MCP4725.h?

  1. Sep 7, 2015 #1
    Dear all,

    I am working on Arduino and try to upload to Teensy, but when I uploaded, I had a problem with this message,

    "Interface22.ino:32:21: fatal error: MCP4725.h: No such file or directory
    compilation terminated.
    Error compiling"

    Could you please help for the reason and how to solve this problem?

    Thank you very much,

    Best regards,

    Nate Duong.
  2. jcsd
  3. Sep 7, 2015 #2


    User Avatar
    Gold Member

    Something in your program is referencing an MCP4725 board, and the MCP4725.h file describes its addresses, function, etc.

    I don't know if there is an explicit include in your code, or whether it is being determined by the compiler. You need to add that file or eliminate the code that requires it.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook