Difference between revisions of "User:X-BT/Counters"
From #openttdcoop wiki
(New page: This is a collection of some of my additions to the field of counting trains with trains. == Simplified cascade == This is a simple way to cascade more counters to get more digits. It do...) |
|||
Line 7: | Line 7: | ||
[[Image:X-BT_Counter_cascade.png]] | [[Image:X-BT_Counter_cascade.png]] | ||
− | == | + | == Inverted counter == |
If you have built a counter with outputs and added NOT gates to all of them, then don't be mad at me for writing this. The following counter design has inverted outputs. The transition from one state to the next is through all red, which makes it suitable for a 7-segment display. The train has a total length of 37. You should probably use multiple engines. Another option is to have 9 small trains, but that requires some more signals. | If you have built a counter with outputs and added NOT gates to all of them, then don't be mad at me for writing this. The following counter design has inverted outputs. The transition from one state to the next is through all red, which makes it suitable for a 7-segment display. The train has a total length of 37. You should probably use multiple engines. Another option is to have 9 small trains, but that requires some more signals. | ||
[[Image:X-BT_Inverted_counter.png]] | [[Image:X-BT_Inverted_counter.png]] |
Latest revision as of 14:02, 16 July 2009
This is a collection of some of my additions to the field of counting trains with trains.
Simplified cascade
This is a simple way to cascade more counters to get more digits. It does not require one edge detector for each digit, only for the first. The idea is to let the green pulse from the edge detector get through to the next counter only when a digit is at 9.
Inverted counter
If you have built a counter with outputs and added NOT gates to all of them, then don't be mad at me for writing this. The following counter design has inverted outputs. The transition from one state to the next is through all red, which makes it suitable for a 7-segment display. The train has a total length of 37. You should probably use multiple engines. Another option is to have 9 small trains, but that requires some more signals.