il y a 6 ans
Hello,
I'm trying to compile a hello world program in the Arduino IDE. I'm having an odd error that I can't understand.
Arduino: 1.8.7 (Windows 10), Board: "Gamebuino Meta"
...\AppData\Local\Arduino15\packages\gamebuino\hardware\samd\1.2.1\cores\arduino/Arduino.h:48:17: fatal error: sam.h: No such file or directory
#include "sam.h"
^
compilation terminated.
exit status 1
Error compiling for board Gamebuino Meta.
I have the 1.2.1 version of Gamebuino board installed and 1.1.0 of the Gamebuino libraries
This is the code I wrote:
#include <Gamebuino-Meta.h>
void setup() {
// put your setup code here, to run once:
gb.begin();}
void loop() {
// put your main code here, to run repeatedly:
while(!gb.update());
gb.display.clear();gb.display.print("hello there");
}
Help, please.
NEW il y a 6 ans
I installed the samd (the program called it "arduino low power") library but that didn't change the result
NEW il y a 6 ans
I figured it out, the ARM Cortex-M0+ board wasn't installed for me. This has the SAMD library included with it.
Thank you for the help either way Sorunome.