So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By harshal287
#66741 Hi, I am trying to flash a simple program of blinking leds using new board which i received from Acrobotic. They dont seem to have great documentation. I am trying to blink leds from at pins D1 and D2 but it doesnt seem to work. Although if i flash another program to blink on board led pin 16, I could see that blinking. I know leds are not damaged since i verified using arduino board. Here is my code for D1 and D2.

void setup() {
pinMode(D1, OUTPUT);
pinMode(D2, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
digitalWrite(D1, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(D1, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second

digitalWrite(D2, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(D2, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

Please help me if I am doing anything wrong or is anything is missing. Here is the schematic for it -
https://acrobotic.com/media/wysiwyg/pro ... tal-01.png