Page 1 of 1

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
by answerhappygod
3 Find The Output Of The Following Program For Osts450 Ms Int Led 9 Int Brightness 40 Int Fadeamount 10 Void 1
3 Find The Output Of The Following Program For Osts450 Ms Int Led 9 Int Brightness 40 Int Fadeamount 10 Void 1 (16.59 KiB) Viewed 26 times
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); }