#include "WProgram.h"

Hello I Tray run one code but I do not find this library
#include "WProgram.h"

Could someone help me !

this means it's a super old code... Now it's #include <Arduino.h>

I include but keep the same msg. Thank you.

This library does not exist anymore. I am looking for everywhere but nothing.

don't keep it. REPLACE it by the new include (which should not even be needed in a .ino)

as I can't guess your code, next answer will be after you posted all the code.

You need to replace #include "WProgram.h" with #include <Arduino.h>.

We can provide specific instructions if you provide more information:

  1. If you don't still have the IDE or web editor open with the error present, repeat the process that generated it.
  2. You now need to copy the full and exact text of the output.
    The procedure for doing this is different depending on which Arduino development software you are using:
    • Arduino IDE 1.x: Click the Copy error messages button on the right side of the orange bar in the IDE.
    • Arduino IDE 2.x: Right click on the black "Output" panel at the bottom of the IDE window and then select "Copy All" from the context menu.
    • Arduino Web Editor: Click the icon that looks like two pieces of paper at the top right corner of the black console window Web Editor.
  3. Open a forum reply here by clicking the Reply button.
  4. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  5. Press Ctrl+V.
    This will paste the compilation output into the code block.
  6. Move the cursor outside of the code block markup before you add any additional text to your reply.
  7. Click the Reply button to post the output.

Oops, J-M-L beat me to it. I'll leave mine up in case the instructions for getting the error message might be of value.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.