BiPOM Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
BiPOM Forum
»
General
»
Micro-IDE
»
how to use port pin as a variable?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: how to use port pin as a variable? (Read 11431 times)
blimon
Guest
how to use port pin as a variable?
«
on:
March 31, 2005, 12:25:04 pm »
for example, i have
#define SCL P1.6
#define SDA P1.7
i want this line to compile-->> SDA = SCL = 1;
what else must I do to use SCL and SDA as a variable?
anyone?
Logged
vitaliy
Full Member
Posts: 30
Re: how to use port pin as a variable?
«
Reply #1 on:
April 01, 2005, 12:48:48 am »
setbit(SDA);
setbit(SCL);
clrbit(SDA);
clrbit(SCL);
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
BiPOM Forum
»
General
»
Micro-IDE
»
how to use port pin as a variable?