I followed the set up instructions that are a little different for my mac (e.g. port is auto-selected and cant be changed, etc.) and have pasted the error messages underneath the code hoping someone can help me make sense of what I have done wrong.
Sorry these are really basic questions and not what you are used to :)
Code: Select all
// Pin D7 has an LED connected on FLORA.
// give it a name:
int led = 7;
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
pinMode(led, OUTPUT);
}
// the loop routine runs over and over again forever:
void loop() {
digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Sketch uses 3956 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes of dynamic memory.
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
Invalid library found in /Users/PrincessKelly/Documents/Arduino/libraries/hardware: no headers files (.h) found in /Users/PrincessKelly/Documents/Arduino/libraries/hardware
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.