"COUNTER FROM 0 TO 999"
The counter system main components are:
- Tiva C board
- LCD
- 3 push buttons (increment by 1, decrement by 1, reset to 000)
- Battery to power all components
- Power switch (on/off) to enable/disable power of the entire system including Tiva C
The operation mode of push buttons:
- Increment : While pressing
- Decrement : On press event
- Reset : On release event
The concept of this system can be used in many applications.For example, it can be used to count number of people in queue if we replace . the increment and decrement push buttons with two photo interrupters and based on the number of people in the queue estimate the waiting time for a new person who is going to stand in the queue.