Searching \ for '[PIC]: accessing port pins' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=port
Search entire site for: 'accessing port pins'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: accessing port pins'
2001\03\25@124302 by Scott Beatty

flavicon
face
Hello

   I am using PBP to send a string to a VFD using LCDOUT with a
17C766.  I need to replace a command in assembler.  I want to send a
timming pulse out of PORTH.3.  Usually PBP would use the following
command to do this.

bsf     LCD_RWREG, LCD_RWBIT

where LCD_RWREG, LCD_RWBIT  is defined as PORTH and 3.  It is not
working.  So I need to know how to specify the bank, port address and
pin number in assembler.  So that I can make the chang3e to the PBP
library file.

Thanks
Scott

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


2001\03\26@080602 by promero

flavicon
face
part 0 44 bytes
his is a multi-part message in MIME format.
part 1 1261 bytes content-type:text/plain; charset=us-ascii (decoded 7bit)

PORT B  belongs to the SFR (Special File Register) Area in this PIC. To
access Port B you must select first bank 0 of the SFR by executing a:

movlb 0

instruction. If you are modifying an existing code, be careful not to
interfere with instructions modifying other SFRegisters afterwards
(because of your changing of current bank). To be sure of what you are
doing look at the 30289a.pdf document (datasheet). Page 45 shows a
summary of the file Register map including specific banks.

Scott Beatty wrote:

{Quote hidden}


part 2 422 bytes content-type:text/x-vcard; charset=us-ascii;
(decoded quoted-printable)

begin:vcard n:Romero Plaza;Pável Ernesto
tel;cell:5489528
tel;fax:6-7444829
tel;home:6-7464233
tel;work:6-7444829
x-mozilla-html:TRUE
url:http://www.insitel.com.co
org:Insitel Ltda.;Research & Development
adr:;;Calle 21 # 16 - 46 Piso 7;Armenia;Quindío;;Colombia
version:2.1
email;internet:spam_OUTpromeroTakeThisOuTspaminsitel.com.co
title:Hardware Engineer
fn:Pável Ernesto Romero Plaza
end:vcard


part 3 136 bytes
--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body


More... (looser matching)
- Last day of these posts
- In 2001 , 2002 only
- Today
- New search...