arduino.h

#include <epd2in9b.h>
#include <epdif.h>
#include <epdpaint.h>
#include <fonts.h>

Arduino create ask for arduino.h but if I insert a new tab with arduino.h it fails to compile.

arduino.h no suchs file or directory.

please help

It’s very unclear what you’re saying.

pa0akv:
Arduino create ask for arduino.h

Where and how did it “ask” for this file?

pa0akv:
if I insert a new tab with arduino.h it fails to compile.

Almost certainly not the right thing to do. There is a file named Arduino.h in the Arduino core library. Filenames are case sensitive in Arduino Create.

pa0akv:
arduino.h no suchs file or directory.

When you want help on the forum with an error, just copy and paste the full output. It’s very inefficient retyping it and you’ll end up leaving out important things and introducing errors. Copy/paste is an essential skill for a computer user so if you don’t know how to do it, time to learn.

Is it "Arduino CREATE" the "ONLINE EDITOR" then please CONFIRM and supply the share link for your sketch.

If it is then we can move this to the correct section.

this is the link: https://create.arduino.cc/editor/pa0akv/31420729-6786-4e91-bebf-eaca39fdcf4f

and I get the error after compiling in the red banner

fatal error:arduino.h: no such file or directory

I hope this is clear what happens.

thanks in advange André

Great. Thats a little better.

I am still suspecting some form of installation error for CREATE still possibly caused by some security you may have or the type of windows installation.

Is it your very own computer and not on loan ? Are you the PRIMARY user of that computer ? What specific OS is it ? Which BROWSER are you using ? What is your specific security (AV and such) ?

There are lots of google finds for your issue with just as many answers but they tend to relate to the desktop IDE more than CREATE.

EDIT. Also this is for ESP boards which CREATE does not yet support and that might actually be the root cause.

Please tell us what you are trying to use as the board ?

Please do this:

  • Hover the mouse over the red bar that shows the error message. Click and drag it up so you can see the black console window.
  • Click the icon in the top right corner of the console that looks like two pieces of paper.
  • Paste the error in a message here USING CODE TAGS (</> button on the toolbar).
./opt/arduino-builder/arduino-builder -compile -core-api-version 10611 -hardware opt/arduino-builder/hardware -hardware ./opt/cores -tools opt/arduino-builder/tools -tools ./opt/tools -built-in-libraries opt/libraries/latest -logger humantags -fqbn arduino:avr:uno -build-cache /tmp -build-path /tmp/800814103/build -verbose -libraries /tmp/800814103/custom -libraries /tmp/800814103/pinned /tmp/800814103/epd2in9b_demo_copyak

Using board 'uno' from platform in folder: /home/ubuntu/opt/cores/arduino/avr

Using core 'arduino' from platform in folder: /home/ubuntu/opt/cores/arduino/avr

Detecting libraries used...

/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/home/ubuntu/opt/cores/arduino/avr/cores/arduino -I/home/ubuntu/opt/cores/arduino/avr/variants/standard /tmp/800814103/build/sketch/epd2in9b_demo_copyak.ino.cpp -o /dev/null

/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/home/ubuntu/opt/cores/arduino/avr/cores/arduino -I/home/ubuntu/opt/cores/arduino/avr/variants/standard -I/home/ubuntu/opt/cores/arduino/avr/libraries/SPI/src /tmp/800814103/build/sketch/epd2in9b_demo_copyak.ino.cpp -o /dev/null

/home/ubuntu/opt/tools/avr-gcc/4.9.2-atmel3.5.4-arduino2/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10611 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I/home/ubuntu/opt/cores/arduino/avr/cores/arduino -I/home/ubuntu/opt/cores/arduino/avr/variants/standard -I/home/ubuntu/opt/cores/arduino/avr/libraries/SPI/src -I/tmp/800814103/custom/epd2in9b /tmp/800814103/build/sketch/epd2in9b_demo_copyak.ino.cpp -o /dev/null

Using library SPI at version 1.0 in folder: /home/ubuntu/opt/cores/arduino/avr/libraries/SPI

Using library epd2in9b in folder: /tmp/800814103/custom/epd2in9b (legacy)

In file included from /tmp/800814103/custom/epd2in9b/epd2in9b.h:30:0,

from /tmp/800814103/epd2in9b_demo_copyak/epd2in9b_demo_copyak.ino:30:

/tmp/800814103/custom/epd2in9b/epdif.h:31:21: fatal error: arduino.h: No such file or directory

#include <arduino.h>

^

compilation terminated.

exit status 1

I still think you are trying to use an ESP based sketch on an AVR board. (UNO)

Where did you find this project in the first place as I think a little more perspective might help. ? (link please)

You would need to edit the library to fix the incorrect filename case and then re-upload it to the Arduino Web Editor. I found a library on GitHub that has this problem and submitted a pull request to fix all the incorrect filenames: https://github.com/Bodmer/EPD_Libraries/pull/1