Port_Readbit - Conrad C-Control Pro Mega Series Manual

Table of Contents

Advertisement

173
C-Control Pro Mega Series
Parameter
port port number (see table)
Return Parameter
port byte value
port number table
Definition
PortA
PortB
PortC
PortD
PortE (Mega128)
PortF (Mega128)
PortG (Mega128)

6.14.4 Port_ReadBit

Port Functions
Syntax
byte Port_ReadBit(byte port);
Sub Port_ReadBit(port As Byte) As Byte
Description
The function Port_ReadBit reads the value of a Pin that is configured for input. (See Pin Assignment
M32
and M128).
Parameter
portbit bit number of port (see table)
Return Parameter
bit value (0 or 1)
Portbits Table
Definition
Value
0
1
2
3
4
5
6
Portbit
of
© 2008 Conrad Electronic

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the C-Control Pro Mega Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

C-control pro mega32C-control pro mega128

Table of Contents