Counter System Development - Flash Access
1. Realize the effect
2. Project requirements
-
After the power is turned on, LED2 is off, and the LCD screen displays the following information (N is a natural number).
-
The current value is N-1 when Key2 is pressed .
-
When Key3 is pressed, the current value is N+1 .
-
The result Y is obtained by substituting N in the formula .
-
When the Key4 is pressed, the current N value is saved to the Flash on the module , and LED2 is on for 1 second and then off .
-
When the module is powered off and then powered on again or reset , the N on the LCD screen displays the last save