Blinking LED & LCD information
A blinking LED with 2 pushbuttons to increase/decrease the blinking frequency and a LCD to display the frequency in ms.
- blinking yellow LED (frequency calculated by program) controlled
> by a digital output on pin 7
> by a NPN mosfet
- NPN mosfet (to enable yellow LED) controlled by an analogic output on pin 6
- increasing freq pushbutton (with a green feedback LED) as digital input on pin 8
- decreasing freq pushbutton (with a red feedback LED) as digital input on pin 9
- LCD (16x2) controlled by <LiquidCrystal.h> library:
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);