This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
TyRao's profile picture

Countdown Program

Started by TyRao, 04 April 2017 - 11:16 AM
TyRao #1
Posted 04 April 2017 - 01:16 PM
Hello, I don't know any LUA so due to that fact. I have came here to seek HELP from ppl that have an idea of how to do……..

What I am looking for is a program to emit 3 red stone signals on a timed sequence with a countdown timer that will display on a screen via wireless modem. It would need to activate the countdown timer in this manner:

Red stone signal - start timer
1: 2 sec delay - emit and hold red stone signal Left
2: 3 sec delay - emit and hold red stone signal Back
3: 3 sec delay - Emit and hold red stone signal Right

Timer ends

3: removes signal
2: 3 sec delay - removes signal
1: 3 sec delay - removes signal

Waiting for red stone signal

Wireless would go on the top for monitor
Red Stone signal input in from the bottom

Also it would need to auto start the program on server restart.

This sounds complicated "For Me". I am hoping that someone will help me in a timely manner…. BTW the MC version I am running is 1.10.2
Edited on 04 April 2017 - 11:19 AM
Lyqyd #2
Posted 04 April 2017 - 02:29 PM
Moved to General. It doesn't look like you want help, it looks like you want a completed program.
DannySMc #3
Posted 04 April 2017 - 04:49 PM
Hi there,

As we don't usually just make programs for people, as a community we all thrive on helping each other learn.

Here are the API's you will need to look at:
http://www.computerc.../Redstone_(API)
http://www.computerc...o/wiki/OS_(API)
http://www.computerc...eripheral_(API)

You will need to create a loop, which waits for an input via redstone, then run a timer, and do what you need with redstone.

How about you have a go, and post your code when you get stuck in the Ask A Pro section.
Edited on 04 April 2017 - 02:51 PM