18. Counter
The Counter module has three inputs.
The Set input resets the counter to a selected value. Since we
do not set, the Counter starts at zero.
The Up and Down connections either increment or decrement the
current counter value.
Right now it is created to buttons. Selecting a button will send
one event value. In a real case, the events might come from a Clock.
We use both a lamp and numeric to show the counter value. For the
lamp, you will have to change min and max in Properties, such as -20 and 20.
This is the structure view:
This is the panel view:
No comments:
Post a Comment