From f3ecdb41a97183c392fa00519e5a3ee3f0cc4a4c Mon Sep 17 00:00:00 2001 From: Mikayla Date: Wed, 1 Mar 2023 23:56:01 -0500 Subject: [PATCH] Updated RSIO (markdown) --- RSIO.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/RSIO.md b/RSIO.md index d4ae885..b555225 100644 --- a/RSIO.md +++ b/RSIO.md @@ -48,4 +48,8 @@ local IO_PORT = { U_ALARM = 24, -- active high, unit alarm U_EMER_COOL = 25 -- active low, emergency coolant control } -``` \ No newline at end of file +``` + +The advantage this component provides is abstracting away the logic levels. For example, checking if an E-Stop is pressed (redstone signal is not present) can be done by checking if the port "is active", rather than having to know that for that particular input, logic LOW is pressed and logic HIGH is unpressed. For an output example, closing a valve is a an active low operation, since applying a redstone valve opens/disconnects a Mekanism redstone-sensitive tube/pipe. + +This component also provides scaling functions for analog inputs and outputs, but this project currently doesn't use any analog I/O. \ No newline at end of file