IO Expansion
Posted: Sat Nov 19, 2016 6:41 pm
I'm sure this has been answered, but I can't figure out how to make a good IO Expansion code.
What I have is two hard switches that I would like to do a few things.
Switch one: lights on mode,
Switch two: water-change mode, but resets after about 5 minutes (in case the switch is left in the on position)
I also would like one of the IO ports to send me n email if activated (high water level in filter sock section)
I think after I get those codes, I should be able to deduce how to write new code for it. Just not sure on how to begin.
Thanks in advance for the help!
What I have is two hard switches that I would like to do a few things.
Switch one: lights on mode,
Switch two: water-change mode, but resets after about 5 minutes (in case the switch is left in the on position)
I also would like one of the IO ports to send me n email if activated (high water level in filter sock section)
I think after I get those codes, I should be able to deduce how to write new code for it. Just not sure on how to begin.
Thanks in advance for the help!