SHOW:
|
|
- or go back to the newest paste.
1 | mon = peripheral.wrap("top") | |
2 | mon.setCursorPos(3,1) | |
3 | - | function p16() |
3 | + | mon.write("8") |
4 | mon.setCursorPos(3,2) | |
5 | - | redstone.setOutput("bottom", true) |
5 | + | mon.write("16") |
6 | - | sleep(2) |
6 | + | mon.setCursorPos(3,3) |
7 | - | redstone.setOutput("bottom", false) |
7 | + | mon.write("32") |
8 | - | sleep(6) |
8 | + | mon.setCursorPos(3,4) |
9 | - | redstone.setOutput("right", true) |
9 | + | mon.write("64") |
10 | - | sleep(1) |
10 | + | |
11 | - | redstone.setOutput("right", false) |
11 | + | |
12 | function p16() | |
13 | ||
14 | redstone.setOutput("bottom", true) | |
15 | sleep(2) | |
16 | redstone.setOutput("bottom", false) | |
17 | end | |
18 | ||
19 | function p8() | |
20 | ||
21 | redstone.setOutput("left", true) | |
22 | sleep(2) | |
23 | redstone.setOutput("left", true) | |
24 | end | |
25 | ||
26 | function p32() | |
27 | ||
28 | redstone.setOutput("right", true) | |
29 | sleep(2) | |
30 | redstone.setOutput("right", false) | |
31 | end | |
32 | ||
33 | function p64() | |
34 | ||
35 | redstone.setOutput("back", true) | |
36 | sleep(2) | |
37 | redstone.setOutput("back", false) | |
38 | end |