![background image](http://html.mh-extra.com/html/conrad/c-control-pro-mega-series/c-control-pro-mega-series_manual_2654183183.webp)
174
Libraries
© 2008 Conrad Electronic
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.5 Port_Write
Port Functions
Syntax
void Port_Write(byte port,byte val);
Sub Port_Write(port As Byte,val As Byte)
Description
Writes a byte to the specified port. Only the Pins of port that are configured for output return a valid value on
their bit position
(
see Pin Assignment
of
). Is a Pin configured as input, a Port_Write()
will set an internal pull-up resistor on (bit = 1) or off (bit = 0).
See Pin Assignment
Parameter
port port number (see table)
val output byte
port number table
Definition
Value
PortA
0
PortB
1
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: ......