Help with circuit networks.
Posted: Thu Dec 28, 2017 10:09 am
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.
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.