Now that I have my feet wet with bitwise I have decided to completely revamp my code on all my running boards. I use the webcontrol boards to gather temp, IO data etc and send it to my ISY994. There is some coding for turning on/off outputs under certain conditions as well.
My question has to do with your preferences to coding. Do some of you prefer to have all the data gathering and control in the main loop then run a subroutine when its time to Webset or turn on/off an output, or do you prefer to have the data gathering and webset and control all contained in their respective subroutines which only runs when it is time to webset or switch an output? I am also looking at which consumes the least amount of resources, which is easier on the board - or does it really matter at all?
Thanks,
Tim
My question has to do with your preferences to coding. Do some of you prefer to have all the data gathering and control in the main loop then run a subroutine when its time to Webset or turn on/off an output, or do you prefer to have the data gathering and webset and control all contained in their respective subroutines which only runs when it is time to webset or switch an output? I am also looking at which consumes the least amount of resources, which is easier on the board - or does it really matter at all?
Thanks,
Tim