[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] |
Polls GPIO pin for change
Source position: fpgpio.pas.bak line 103
public function TGpioPin.PollChange( |
delay: LongInt; |
timeout: LongInt; |
out value: Boolean |
):Boolean; virtual; |
delay: LongInt; |
timeout: LongInt; |
out value: Boolean; |
OnIdle: TGpioPollIdle |
delay |
|
Delay between polls in milliseconds |
timeout |
|
Maximum time for polling in milliseconds |
value |
|
New Value |
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.
delay |
|
Delay between polls in milliseconds |
timeout |
|
Maximum time for polling in milliseconds |
value |
|
New Value |
OnIdle |
|
Callback after each poll |