3. Find the output of the following program for Osts450 ms: int led = 9; int brightness = 40; int fadeAmount = -10; void
Posted: Fri Apr 29, 2022 7:14 am
3. Find the output of the following program for Osts450 ms: int led = 9; int brightness = 40; int fadeAmount = -10; void setup() { pinMode(led, OUTPUT); } void loop() { analogWrite(led, brightness); brightness = brightness + fadeAmount; if (brightness <= 0 | brightness >=90) { fadeAmount = -fadeAmount; 1 delay(30); }