PDA

View Full Version : how to send ports high



andrewwaack
- 17th November 2006, 09:11
i have just started to use the 16c63a pic can you use the high comand to send pins on port b and port c to out put and iff so what dose the code look like
i am using microcode studio as the text editor and pbp for the compiler

any help much apricated

HenrikOlsson
- 17th November 2006, 12:24
Hi,
I hate to say this but have you looked up High in the PBP manual or in the MCS help? It tells you everything you need to know. If not - please explain what is and someone will jump in and help you.

/Henrik Olsson.

sayzer
- 17th November 2006, 12:32
andrew,

Do you want to make all pins of a port HIGH or LOW at the same time?

Was that the question?

----------------------

mister_e
- 17th November 2006, 15:57
High and LOW for individual PINs

High PORTA.0

ALL PORT pins?

TRISB=0
'
'
'
'
'
'
PORTB=%11111111 ' all PINs to 1

andrewwaack
- 17th November 2006, 23:04
thanks all
it is for an led display
i found that
high portc.0
pause 100
low portc.0

works

thanks