![background image](http://html.mh-extra.com/html/conrad/c-control-pro-mega-series/c-control-pro-mega-series_manual_2654183181.webp)
172
Libraries
© 2008 Conrad Electronic
and
Parameter
portbit port bit number (see table)
val 0=Input, 1= Output
Portbits Table
Definition
Portbit
PortA.0
0
...
...
PortA.7
7
PortB.0
8
...
...
PortB.7
15
PortC.0
16
...
...
PortC.7
23
PortD.0
24
...
...
PortD.7
31
from here only Mega128
PortE.0
32
...
...
PortE.7
39
PortF.0
40
...
...
PortF.7
47
PortG.0
48
...
...
PortG.4
52
6.14.3 Port_Read
Port Functions
Syntax
byte Port_Read(byte port);
Sub Port_Read(port As Byte) As Byte
Description
Reads a byte from the specified port. Only the Pins of port that are configured for input return a valid value
on their bit position
(
see Pin Assignment
of
).
Summary of Contents for C-Control Pro Mega Series
Page 1: ... 2008 Conrad Electronic C Control Pro Mega Series ...
Page 9: ...VIII Inhalt 2008 Conrad Electronic ...
Page 10: ...Part 1 ...
Page 17: ...Part 2 ...
Page 23: ...Part 3 ...
Page 41: ...32 Hardware 2008 Conrad Electronic 3 3 5 3 Component Parts Plan ...
Page 57: ...48 Hardware 2008 Conrad Electronic 3 4 5 3 Component Parts Plan ...
Page 58: ...Part 4 ...
Page 91: ...82 IDE 2008 Conrad Electronic ...
Page 92: ...Part 5 ...
Page 135: ...126 Compiler 2008 Conrad Electronic 31 1F US 63 3F 95 5F _ 127 7F DEL ...
Page 136: ...Part 6 ...
Page 231: ...Part 7 ...
Page 240: ......