[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpgpio' (#pascalio)

TGpioPin.PollChange

Polls GPIO pin for change

Declaration

Source position: fpgpio.pas.bak line 103

public function TGpioPin.PollChange(

  delay: LongInt;

  timeout: LongInt;

  out value: Boolean

):Boolean; virtual;

function TGpioPin.PollChange(

  delay: LongInt;

  timeout: LongInt;

  out value: Boolean;

  OnIdle: TGpioPollIdle

):TGpioPollResult;

Arguments

delay

  

Delay between polls in milliseconds

timeout

  

Maximum time for polling in milliseconds

value

  

New Value

Function result

True indicates a change in TGpioPin.Value; the value is stored in value. False indicates a timeout or cancel. In the other overloaded version, see TGpioPollResult for documentation.

Arguments

delay

  

Delay between polls in milliseconds

timeout

  

Maximum time for polling in milliseconds

value

  

New Value

OnIdle

  

Callback after each poll


Documentation generated on: 2020-05-22