Thursday, November 4, 2010

Nov.4 Touch Sensor as Button Applications

E_CYCLE is better to use than E_DELAY in many cases:
  • E_CYCLE: Sends sample request at regular intervals, independent of other FBs
  • E_DELAY: Waits a specific length of time. A total sample cycle time can be influenced by the time variance in FB execution times.
Simple example: Touch sensor as start application button 
E_CYCLE + E_PERMIT
E_SWITCH+E_DELAY

No comments:

Post a Comment