Call:      DigFalling(String Tag) 

Input:    TagName 

Output: boolean 

 

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

 

Example: 

if (DigFalling("BUTTON1")) 

  { 

  ... code .. 

  }

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0
0
0
s2smodern