ComputerCraft Forums

ComputerCraft => Ask a Pro => Topic started by: BigHeadFox on Aug 07, 2025, 02:06 PM

Title: Redstone Monitor
Post by: BigHeadFox on Aug 07, 2025, 02:06 PM
Hi

Sorry for a longer post, I'm trying to explain as much as possible!

I want to have a Monitor that will display the status of three redstone inputs. It's the first step in a fancy monitor/management program I'd love to write to handle any errors produced by my Mekanism Fission Reactor.
So the reactor has three output ports. If an error occurs in the reactor (such as too much waste building up) then the appropriate port will send out a redstone signal.
I would like my monitor to display the status of all three ports.
So when I run the program my attached Monitor should display:

TEMP: OK
WASTE: OK
FUEL: OK

with the OKs being in green.

Then if any errors occur, the Computer receives a redstone signal with strength 15 and the relevant part of the display should change, e.g:

TEMP: OK
WASTE: ERROR
FUEL: OK

with the ERROR being in red.

Here is my code: https://pastebin.com/twtx5CPY

When I run the program I just get nothing. No errors, and nothing on the Monitor.

I'm (clearly) just getting into CC and I love it, it's breathed new life into Minecraft for me, so I'd be hugely grateful if anyone could tell me what I'm doing wrong so I can understand it and crack on!

Thanks

Fox
Title: Redstone Monitor
Post by: BigHeadFox on Aug 07, 2025, 05:51 PM
Nevermind, fixed it!