Oxygen Not Included

Oxygen Not Included

Edge Detectors and Diode (Automation)
15 Comments
Thundercraft Apr 30, 2023 @ 3:39am 
Just an FYI: From my limited testing so far (with Spaced Out DLC enabled), this mod still seems to be working as intended - no issue. :steamthumbsup:
Sane Boi Caligula Jul 16, 2022 @ 5:00pm 
I am getting a visual bug between this and the Wallpaper mod, where the items from this mod will sometimes display on top of the wallpaper, and sometimes behind it. It seems to change when I open the automation overlay, but only part of the time.
greggel Apr 14, 2022 @ 9:18am 
Basic RL automation stuff. This mod should be in vanilla. Big :steamthumbsup:
blaxx Mar 25, 2022 @ 8:06am 
finally a usefull automation set. the game lack of edge detector
nipodemos Mar 19, 2022 @ 5:22am 
for the ones that play spaced out, you can use this automation to send a green signal to start to fill the fuel of rockets as soon as they land. Finnaly I'll be able to automate refuelling in a simple way
Suicide Commando Mar 15, 2022 @ 9:02am 
Great stuff! These are some very useful extra logic gates.
gnidan Mar 14, 2022 @ 7:03pm 
Oh heck yes!
R. Mueller  [author] Mar 14, 2022 @ 6:37pm 
I've published the code to git: https://github.com/happyjack27/ONI-Mods

(BTW, i'm working on the 8-bit ram module, having some issues. when it's done, though, the stack-based ALU will be done real quick.)
Shame Mar 13, 2022 @ 9:19pm 
A button that you must press to send a green signal for one tick would come in handy with this logic set.
R. Mueller  [author] Mar 13, 2022 @ 1:48pm 
dont have a git yet, but will soon. doing some reorganization. atm and starting my next mod. ( "Computer Parts"). This was my first C# program, and my first visual studio program. I'll push it to an new github repo prolly this week.
el_fidel Mar 13, 2022 @ 11:41am 
very nice. I maybe also wanna add to the logic. you have a git?
R. Mueller  [author] Mar 12, 2022 @ 7:26pm 
I've updated the description to explain what edge detectors are. I might add a "pulse counter", will just cycle through 0123 at each rising edge. My next mods are probably going to be: 8-bit addressable memory unit, with a write enable and read enable control ports, so they can be strung together to add memory, and an 8-bit stack, that can also add and increment, so that it can be used as a call stack / instruction sequencer. In a separate mod I'm thinking of some simple inline wire-to-ribbon stuff, such as and all the wires in a ribbon together and that's your output to the wire, have a diode for a ribbon, but have a wire control whether to send or not, things like that. I'm focusing on the memory module and call stack at the moment.
nipodemos Mar 12, 2022 @ 11:11am 
thank you for the explanation and thank you for this mod :steamhappy:
R. Mueller  [author] Mar 12, 2022 @ 9:56am 
When the signal turns from green to red - which in electronics would be high voltage to low voltage - it "falls" from high to low. if you put that on a chart with time and one access and voltage on another, that "falling" would show up as a vertical line - an "edge".

So a falling edge detector sends a green ("high") signal when the input goes from green to red.
And a "rising" edge detector sends a green ("high") signal when the input goes from red to green. (low to high).
nipodemos Mar 12, 2022 @ 4:18am 
Sorry, maybe is because I don't know english too well, but what de falling/rising edge detector does? I just can't undertand the name and it's function