I have been trying to learn circuit networks, but there is one thing that I just can't seem to figure out.
What I'm trying to do: Create a timer that goes from 1 to 100, then in reverse back down to 1, repeating indefinitely.
How I'm trying to do it:
CC: A = -100 --> AC: A += 1 --> DC: A < 0 (Input Count)
I would think that this makes the value of A start at -100, then go up until it hits 0, then reset, but for some reason instead of doing that, it just infinitely goes into the negatives, completely ignoring the fact that the AC is ADDING 1, rather than subtracting.
I'm not even sure if a timer like I described is possible, but if it is, can someone please tell me what I'm doing wrong.
Help with circuit networks.
-
- Manual Inserter
- Posts: 2
- Joined: Mon May 30, 2016 6:11 pm
- Contact:
Re: Help with circuit networks.
Generally you need S/R latch which will output (1[set]) or (-1[reset]) which will have Set trigger at A=1 and reset at A=100. Then AC counter which will add the output of S/R latch to A.
Re: Help with circuit networks.
Careful when you loop outputs back to inputs. You are probably adding -100 to your +=1 loop every tick.
Re: Help with circuit networks.
Blueprint