when i upload this program to blink led iam not able to see any out board i dont know whats wrong with this can any one help me?
#include <Arduino.h>// the setup function runs once when you press reset or power the boardvoid setup() { // initialize digital pin 13 as an output. pinMode(13, OUTPUT);}// the loop function runs over and over again forevervoid loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second}
4LEDs on GR-KAEDE are defined as following.
PIN_LED0
PIN_LED1
PIN_LED2
PIN_LED3
No LED is on Pin 13 as Arduino UNO.
So you need to write as below.
#include <Arduino.h>// the setup function runs once when you press reset or power the boardvoid setup() { // initialize digital pin 13 as an output. pinMode(PIN_LED0, OUTPUT);}// the loop function runs over and over again forevervoid loop() { digitalWrite(PIN_LED0, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(PIN_LED0, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second}