Jump to content




Redstone Counter (Repeat Signal x Times)


  • You cannot reply to this topic
1 reply to this topic

#1 Macapple

  • Members
  • 28 posts

Posted 09 October 2013 - 06:31 AM

Title : Redstone Counter (Repeat Signal x Times)

Description :
Hi,i'm trying to make a counter to repeat a short redstone pulse (0.5s) a set number of times.
I used x=tonumber(read())
but i dunno how to make the redstone signal to repeat.

Any help is appreciated :)

-Mac

#2 Bubba

    Use Code Tags!

  • Moderators
  • 1,142 posts
  • LocationRHIT

Posted 09 October 2013 - 08:58 AM

This is quite simple. Use the following resources and I'm sure you'll have no difficulty piecing something together:
1. The PIL
2. The redstone API. Specifically redstone.setOutput.

You have the right idea with tonumber(read()), now just use the for loop and the redstone API to execute the rest.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users