Simple feeding button through IOModule
Posted: Mon Mar 03, 2014 7:12 am
So I've worked most of the kinks out of my setup and am really happy with RA so far. I bought an IO module knowing that I'd want to tinker around with it, but also because I want to have a doorbell button on the back of my tank for my neighbor to push when she's feeding my fish when I'm out of town that will activate feeding mode.
Now I did some digging around the forums and I know I want to call "FeedingModeStart()", but what I'm unsure of is exactly how I want to monitor Controller.getIOChannel - I assume that it's a zero-based array of my channels, and that "closed" will cause this bool to return true?
Lastly, where should I put my custom stuff? If I make changes in the Wizard in the future, won't it clobber my code?
Now I did some digging around the forums and I know I want to call "FeedingModeStart()", but what I'm unsure of is exactly how I want to monitor Controller.getIOChannel - I assume that it's a zero-based array of my channels, and that "closed" will cause this bool to return true?
Lastly, where should I put my custom stuff? If I make changes in the Wizard in the future, won't it clobber my code?