Call:      DigRising(String Tag) 

Input:    TagName 

Output: boolean

 

The pin associated with the Tagname is tested on the rising edge. So when the pin is low in the prior cycle and high in the current cycle, this function result is true for one cycle.

 

Example:

if (DigRising("GO")) 

  { 

  ... code .. 

  }