Figure 2.5: PiFace Digital 2 – numbering of the screw terminals
•
Block name
–
UNP
•
module
–
RPiDrv
•
classname
–
UnpDrv
The inputs and outputs of the UniPi expansion board can be accessed as shown in
Fig.
2.6
. The link to a particular IO pin consist of driver name
UNP
, two underscores
__
,
pin number and an optional. The pin numbering of the UniPi expansion board is shown
in Fig.
2.7
. All the input and output flags for the UniPi expansion board are by default
prepared in the folder
C:\Program Files (x86)\REX Controls\REX <version>\Examples\UniPi_examples\
00_IO_Flags
.
2.2.4
The Intellisys PIO expansion board
Necessary
IODRV
block configuration for Intellisys PIO expansion board:
•
Block name
–
PIO
•
module
–
RPiDrv
•
classname
–
PioDrv
The inputs and outputs of the Intellisys PIO expansion board can be accessed as
shown in Fig.
2.8
. The link to a particular IO pin consist of driver name
PIO
, two un-
derscores
__
, pin number and an optional. The pin numbering of the Intellisys PIO
expansion board is shown in Fig.
2.9
. All the input and output flags for the Intellisys
PIO expansion board are by default prepared in the folder
9