Accumulate(Integral) Integer
File:TArduinoIntegerAccumulate.png
Summary
Accumulates (integrates) incoming integer values over time.
Description
Use this component to continuously add the incoming integer values to an internal total. The accumulation can be reset to the **Initial Value** at any time via the **Reset** pin. This is useful for counting, integrating signals, or maintaining a running total.
Diagram:
Categories
Category Filters/Math – Math filtering operations
Category Math – General mathematical operations
Category Integer – Integer processing
Properties
- Initial Value – The starting value for the accumulator (integer).
Pins
- In – Integer input to be accumulated.
- Reset – Clock input to reset the accumulator to the **Initial Value**.
- Out – Integer output of the current accumulated total.