Oxygen Not Included

Oxygen Not Included

Edge Detectors and Diode (Automation)
15 Comments
Thundercraft 30 Apr, 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 16 Jul, 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 14 Apr, 2022 @ 9:18am 
Basic RL automation stuff. This mod should be in vanilla. Big :steamthumbsup:
blaxx 25 Mar, 2022 @ 8:06am 
finally a usefull automation set. the game lack of edge detector
nipodemos 19 Mar, 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 15 Mar, 2022 @ 9:02am 
Great stuff! These are some very useful extra logic gates.
gnidan 14 Mar, 2022 @ 7:03pm 
Oh heck yes!
R. Mueller  [author] 14 Mar, 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 13 Mar, 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] 13 Mar, 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 13 Mar, 2022 @ 11:41am 
very nice. I maybe also wanna add to the logic. you have a git?
R. Mueller  [author] 12 Mar, 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 12 Mar, 2022 @ 11:11am 
thank you for the explanation and thank you for this mod :steamhappy:
R. Mueller  [author] 12 Mar, 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 12 Mar, 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