Page 1 of 1

How to reset a combinator containing feedback?

Posted: Tue Jul 09, 2019 8:13 pm
by coppercoil
I’ve got an arithmetic combinator and feedback loop, it works as signal accumulator.
accumulator.png
accumulator.png (191.36 KiB) Viewed 1042 times

I need to reset all looped signals using some external reset signal (single pulse or constant). My first thought was to add second combinator and send R = -1 for reset.

AccReset.png
AccReset.png (184.69 KiB) Viewed 1042 times

Well… all signals were cleared except R that overflowed and went crazy :). It’s unacceptable. So, how to reset all signals to be accumulated again?

Re: How to reset a combinator containing feedback?

Posted: Tue Jul 09, 2019 8:17 pm
by DaveMcW
Use a decider combinator with R=0.

Re: How to reset a combinator containing feedback?

Posted: Tue Jul 09, 2019 8:23 pm
by coppercoil
DaveMcW wrote:
Tue Jul 09, 2019 8:17 pm
Use a decider combinator with R=0.
Thank you, it's so easy :)