New to programming.... Need help reading status of DIP Sw

Status
Not open for further replies.

chevymn1964

Full Member level 2
Joined
Apr 1, 2006
Messages
120
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Santa Rosa, Ca.
Activity points
2,551
Hello all!,

I am very new to programming.... Im having trouble with reading the status of a DIP Switch.... I have a 2 switch dip switch and need to have 4 possible settings connected to ra2 and ra3 that are pulled HI with pull-ups so, i need to read the status of ra2 and ra3 and CALL 4 sep routines...... any help or ideas???? thanks!
 

Hi,
What are ra3 and ra2? are u working with a µC? whith a mother board?

explain more
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…