Two LED chaser CloudX

  • img
Project Details

This project uses the CloudX Priscilla, it's designed to flash sequentially. The Red LED is connected to pin1 and to GND while the Green LED is connected to pin2 and to GND.

Code

#include <CloudX\Priscilla_2620.h>

setup(){
pinMode(1,OUTPUT);
pinMode(2,OUTPUT);
loop(){
digitalWrite(1,HIGH);
digital write(2,LOW);
delay(500);
digitalWrite(1,LOW);
digitalWrite(2,HIGH);
delay(500);
}
}

Share this with friends