I need arduino code
what is arduino IDE: The Arduino Integrated Development Environment - or Arduino Software (IDE) - contains a text editor for writing code, a message area, a text console, a toolbar with buttons for common functions and a series of menus. It connects to the Arduino hardware to upload programs and communicate with them Arduino IDE code for blinking three LEDs and displaying their outputs: const int LED = 8; // Assign pin 8 a name e.g. LED void setup() { Serial.begin (9600); //initialise the serial monitor data rate at 9600bps pinMode(LED, OUTPUT); //configure the digital pin as an output } void loop() { digitalWrite(LED, HIGH); //control the digital pin to turn the LED on Serial.println("LED is on"); //receive a signal in the serial monitor to show LED is on delay(2000); //a delay to blink the LED in 2 second intervals digitalWrite(LED, LOW); //control the digital pin to turn the LED off Serial.println("LED is off"); //receive a signal in the serial monitor to show LED is off delay(2000); //a delay to blink the LED in 2 second intervals } Basic arduino code for blinking 3 LEDs(RGB): int R = 10;int G = 11;int B = 12; // Assign integer R,G,B pins to 10,11,12 respectively void setup(){ pinMode // configure the digital pins R as Output (R,OUTPUT); pinMode // configure the digital pin R as output (G,OUTPUT); pinMode // configure the digital pin G as output (B,OUTPUT); } void loop(){ digitalWrite (R,L0W); delay (2000); digitalWrite (R,HIGH); delay (2000); digitalWrite (G,LOW); delay (1000); digitalWrite (G,HIGH); delay (1000); digitalWrite (B,LOW); delay (2000); digitalWrite (B,HIGH); delay (2000); } Description: 1.digitalWrite (R,HIGH); delay (1000); ... See the full answer