femtoduino / ArduinoCore-atsamd21e18a

Arduino Core and Bootloader for the ATMEL SAM D21/R21 (E Variant) chips.
https://femto.io
29 stars 15 forks source link

Fatal error: Arduino.h: No such file or directory #18

Closed benlhy closed 6 years ago

benlhy commented 6 years ago

I was attempting to compile the following sketch in Arduino:

`void setup() { // put your setup code here, to run once: pinMode(1,OUTPUT);

}

void loop() { // put your main code here, to run repeatedly:

digitalWrite(1,HIGH); }`

However, it yields the error Arduino.h: No such file or directory.

zrecore commented 6 years ago

Which board do you have selected?

On Jan 14, 2018 10:46 PM, "benlhy" notifications@github.com wrote:

I was attempting to compile the following sketch in Arduino:

`void setup() { // put your setup code here, to run once: pinMode(1,OUTPUT);

}

void loop() { // put your main code here, to run repeatedly:

digitalWrite(1,HIGH); }`

However, it yields the error Arduino.h: No such file or directory.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/femtoduino/ArduinoCore-atsamd21e18a/issues/18, or mute the thread https://github.com/notifications/unsubscribe-auth/AAaLbH24Hy0AlurwepWtyCNutX1jOfdCks5tKvQ0gaJpZM4Rd-t6 .

benlhy commented 6 years ago

Seems like the Arduino Cortex library was messed up. I removed it and reinstalled it and I can compile the code successfully now!

zrecore commented 6 years ago

Excellent!