Skip to content

Commit

Permalink
Update RGB-LED.ino
Browse files Browse the repository at this point in the history
Updated RGB-LED.ino with minor change in the code comment.
  • Loading branch information
nishant-giri authored Oct 5, 2021
1 parent def28ac commit 6fc9710
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RGB based projects/RGB-LED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ void setup()
}
void loop()
{
// Turning ON PWM Ports with Random Duty Cycle Value
// Turn ON PWM Ports with Random Duty Cycle Value
analogWrite(R, random(200));
analogWrite(G, random(200));
analogWrite(B, random(200));
// Delay of 100ms for LED to Refresh with New Random Values
delay(100);
}
}

0 comments on commit 6fc9710

Please sign in to comment.