Hey All,<div><br></div><div>I am just wondering in an abstract sort of way...if I am designing code that is basically "sense-respond," is the tick function, (or more generally, some timer function) the primary means for initiating the reading of a sensor, which in turn, cascades through whatever happens in response to what is read.</div>
<div><br></div><div>I can only think of one other way right now, which has to do with watching for changes in the sensor and initiating the response at the moment of change. </div><div><br></div><div>The first is a top-down approach the other is more bottom-up.</div>
<div><br></div><div>Any thoughts on the advantages and disadvantages to both...and any pertinent methods of implementation.</div><div><br></div><div><br></div><div>Kind Regards,</div><div>aaron</div>