User Tools

Site Tools

한국어

cubloc:keyinh:index

KeyInH

variable = KeyInH( port, debouncingTime)

variable Variable to store results (No String or Single)
port Input port (0 to 255)
deboucingTime Debouncing time (0 to 65535)

KeyInH is for active high inputs. For active low inputs, the KeyIn command should be used.

When a button press is detected, KeyInH will return 1; otherwise, it will return 0.

A = KeyInH(1,100) 'Read from port 1 after waiting 100ms for debouncing.

Go CUBLOC home

cubloc/keyinh/index.txt · Last modified: 2016/04/14 11:07 (external edit)