THE INFORMATION ON THIS WEB SITE MAY BE FALSE, INACCURATE OR INCORRECT. PLEASE USE
THE INFORMATION WITH
CAUTION - NO LIABILITY CAN BE ACCEPTED IN CASE OF LOSS OR DAMAGES INCURRED FOR ANY
INJURY TO PERSONS OR FINANCIAL LOSS THROUGH THE USE OF THIS INTERNET SITE AS A SOURCE
OF CREDIBLE INFORMATION. PLEASE VERIFY ALL PRESENTED FACTS ARE CORRECT INDEPENDENTLY.
This unit is for use with the Raspberry micro computer only as it directly accesses
memory registers. It is a native Lazarus unit to control the Raspberry pi’s GPIO
port and other Raspberry Pi hardware. The unit is very much a work in progress that
I am adding to as and when the need arises and when I have time. I will probably
put it in to a software repository in due course.
type EGPIO = class(Exception);
wrapper around the Exception class throw when errors relating to pi_ioII are thrown.
type PWM_CHANNEL = (PWM_1,PWM_2);
GPIO_MODE used to define the function of a GPIO (General Purpose Input / Output )
type GPIO_MODE = (GPM_INPUT=0,GPM_OUTPUT=1,GPM_ALT5=2,GPM_ALT4=3,GPM_AL T0=4,GPM_ALT1=5,
GPIO_ALLOWED_MODES set of allowed modes a pin may have.