Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int PinRed=9;
- const int PinGreen=10;
- const int PinBlue=11;
- void setup()
- {
- // put your setup code here, to run once:
- analogWrite(PinRed, 255);
- analogWrite(PinGreen, 0);
- analogWrite(PinBlue, 0);
- delay (500);
- analogWrite(PinRed, 0);
- analogWrite(PinGreen, 255);
- analogWrite(PinBlue, 0);
- delay(500);
- analogWrite(PinRed, 0);
- analogWrite(PinGreen, 0);
- analogWrite(PinBlue, 255);
- delay(500);
- }
- void loop()
- {
- // put your main code here, to run repeatedly:
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement