C Control PRO-BOT128 + C-Control PRO 128 Unit + Voltcraft® USB programming cable Kit 190406 用户手册

产品代码
190406
下载
页码 244
176
Bibliotheken
© 2008 Conrad Electronic
Parameter 
port   Portnummer (siehe Tabelle)
Rückgabewert
Wert des Ports
Portnummern Tabelle
Definition
Wert
PortA
0
PortB
1
PortC
2
PortD
3
PortE (
Mega128
)
4
PortF (
Mega128
)
5
PortG (
Mega128
)
6
6.14.4 Port_ReadBit
Port Funktionen
Syntax
byte Port_ReadBit(byte port);
Sub Port_ReadBit(port As ByteAs Byte
Beschreibung
Liest einen Bitwert des spezifizierten Ports. Der entsprechende Pin des Ports muß auf Eingang geschaltet
sein. (Für die Abbildung zwischen Portbits und den Pins des Atmel Mega Chips siehe Pinzuordnung
 von
.)
Parameter 
portbit   Bitnummer des Ports (siehe Tabelle)
Rückgabewert
Bitwert des Ports (0 oder 1)
Portbits Tabelle