pradyumna1998 / Blinking-led-with-Arduino

I have strucked with a problem statement that you have to connect the Arduino with 3 LEDs(IF you have only 2 LEDs then work with 2) at 3 different pins and control them i.e. turn them ON or OFF when you press Keyboard number keys 1,2, & 3 respectively. Also, add to more functions in the program i.e. the use of "+" and "-" keys and when you press "+" key the blink speed for the LED that is ON increases by 0.25 secs and if pressed "-" key, the blink speed decreases by 0.25 secs. Whenever you turn ON any LED using any key from 1,2 or 3, the respective LED should turn ON & blink at a delay of 1sec.
0 stars 0 forks source link

Blinking led with Arduino #1

Open pradyumna1998 opened 4 years ago

pradyumna1998 commented 4 years ago

Connect the Arduino with 3 LEDs(IF you have only 2 LEDs then work with 2) at 3 different pins and control them i.e. turn them ON or OFF when you press Keyboard number keys 1,2, & 3 respectively. Also, add to more functions in the program i.e. the use of "+" and "-" keys and when you press "+" key the blink speed for the LED that is ON increases by 0.25 secs and if pressed "-" key, the blink speed decreases by 0.25 secs. Whenever you turn ON any LED using any key from 1,2 or 3, the respective LED should turn ON & blink at a delay of 1sec.

This is my first Problem Statement of my internship I have no idea that how to use"+" ,"-" character to increase or decrease the blinking rate .

I want code so that I can understand and learn from that.

MaderDash commented 3 months ago

This issue is 4 years old, can you please close it, or if you still need assistance with this then please let me know. TY.