4. Arduino Learning notebook -- Make the first circuit: Blink single LED (VOL.1)
4. Arduino Learning notebook -- Make the first circuit: Blink single LED (VOL.1) Juvtmall ( a company supply PCB Prototyping , PCBA service and sell kinds of components, modules and so on) ( Catduino has the same function of Arduino) In the previous experiment , we learned how to make an LED to blink, and the following experiment would control six LEDs. [ code ] //set IO pin as controlling the LED i nt Led1 = 1; i nt Led2 = 2; int Led3 = 3; i nt Led4 = 4; int Led5 = 5; int Led6 = 6; // Led display style 1 sub program void style_1(void) { unsigned char j; for(j=1;j<=6;j++) { digitalWrite(j, HIGH); dela...