1

Button Counter?

mahnumberis17 3/17/13 3:23 pm
680
3/21/2013 11:52 am
I'll make this short and sweet, I need a device in which you have to press a button 4 times and then it gives you an output.
Posted by
mahnumberis17
Level 3 : Apprentice Miner
0

  Have something to say?

JoinSign in

18

SemihLord
03/21/2013 11:52 am
Level 1 : New Explorer
very useful thanks for uploading
1
LiquidChildren1
03/17/2013 10:49 pm
Level 25 : Expert System
I did this same concept, but it was a series of RS NOR latches being consecutively activated by piston style AND gates. It was unnecessarily huge. Now you show me this.

I have to burn everything now.

Does this only work with a stone button? Will the pulser work with a signal length longer or shorter than a stone button's?
1
Willsr71
03/18/2013 4:19 pm
Level 53 : Grandmaster Programmer
Lol
It will work with a pules longer then a stone buttons, but not shorter, but it is very easy to lengthen a pulse.
1
LiquidChildren1
03/18/2013 5:24 pm
Level 25 : Expert System
Dang, I was hoping it was similar to a piston flip flop toggler, where shortening the button signal would make it go faster.
1
Willsr71
03/18/2013 6:07 pm
Level 53 : Grandmaster Programmer
I just ran some tests, and The shortest redstone signal it will work with is a four tick pulse, but there has to be at least a one tick pause before it can be toggled again. A button is ten ticks so yes. It can actually be shorter then a button pulse.
1
mrjrbacon
03/17/2013 9:46 pm
Level 42 : Master uwu
cool
1
LiquidChildren1
03/17/2013 4:18 pm
Level 25 : Expert System
He wants a clock that can be started and stopped by the press of a button. That's a little trickier, but possible. If you want a redstone one that's displays with redstone lamps, it's difficult. If you want one that uses the /scoreboard and displays on the sidebar of the screen, then it's a lot easier.

Do /scoreboard objectives add Time dummy
This will make the dummy objective "Time"
Then do /scoreboard objectives display sidebar, or is it "setdisplay"
Then make a command block being powered by a ten tick clock with the command /scoreboard players add 1 Time, assuming I wrote it with the right syntax. A switch to power the clock to turn it off will be the toggle.
1
Nikihak
03/17/2013 4:04 pm
Level 3 : Apprentice Crafter
I mean it count time (sendons) ... Do u get me now?
P.S. I mean like stopwatch
1
Willsr71
03/17/2013 3:43 pm
Level 53 : Grandmaster Programmer
Make time ones? What do you mean?
1
Nikihak
03/17/2013 3:33 pm
Level 3 : Apprentice Crafter
Willsr71 how to make counters..... And do u know how to make time ones?
1
Willsr71
03/17/2013 3:30 pm
Level 53 : Grandmaster Programmer
Der. You just have four repeaters after the button instead of 6.
1
LiquidChildren1
03/17/2013 9:37 pm
Level 25 : Expert System
Your design is brilliant for this. Now explain your witchcraft on how this works.
1
Willsr71
03/17/2013 10:13 pm
Level 53 : Grandmaster Programmer
Witchcraft? Ok The blue part is a pulse shortener and while the redstone is off there is a one tick where the line advances one. Then it turns back on and they lock again.
1
mahnumberis17
03/17/2013 9:45 pm
Level 3 : Apprentice Miner
The part on the left is a 1 tick clock, which turns the "locking" repeaters off. Once these are off, the button signal can only go to the first repeater, because it is only 1 tick.
1
LiquidChildren1
03/17/2013 9:56 pm
Level 25 : Expert System
The only part I don't understand is how that functions as a one tick clock, it looks like it should let out two ticks instead. Maybe I just have to understand that redstone follows its own rules.
1
mahnumberis17
03/17/2013 3:29 pm
Level 3 : Apprentice Miner
Thank you!
1
Willsr71
03/17/2013 3:26 pm
Level 53 : Grandmaster Programmer
Ill give you a pic of a really simple one in a sec
1
mahnumberis17
03/17/2013 3:25 pm
Level 3 : Apprentice Miner
Oh, and compact would be nice
1

Welcome