Saturday, December 17, 2016

20. Accumulator

A Fader, named Clock Freq, is connected to the F input of a Clock Oscillator module. From the Properties, set the range 1 to 10, with step of 1. The A input is 5, so the clock goes from 0 to 5.


Instead of using Counter, we use Accumulator. Now, it will increment by 5 each step (value of In)


There is a Button, named Reset, connected to Set input of the Accumulator. From the properties, set both on and off values to 0. Thus whenever the button is clicked, it will reset on both on and off states.


A Numeric Readout, named Acc Val, outputs the accumulator value.


This is the structure view:


This is the panel view:


No comments:

Post a Comment