Project weekend
Weekend DIY projects to do at home
Sunday, 15 May 2022
Tuesday, 3 May 2022
Monday, 2 May 2022
Arduino VIP Light Source Code
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
pinMode(12,OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(50); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(50); // wait for a second
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(50); // wait for a second
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(50); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(50); // wait for a second
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(50); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
digitalWrite(12,HIGH);
delay(50);
digitalWrite(12,LOW);
delay(50);
digitalWrite(12,HIGH);
delay(50);
digitalWrite(12,LOW);
delay(50);
digitalWrite(12,LOW);
delay(50);
digitalWrite(12,HIGH);
delay(50);
digitalWrite(12,LOW);
}