ts-7000
[Top] [All Lists]

[ts-7000] TS-7200 PortB DIO/COM3 as Inputs

To:
Subject: [ts-7000] TS-7200 PortB DIO/COM3 as Inputs
From: "linna_lisa" <>
Date: Sun, 13 Jul 2008 20:34:29 -0000
Hey,

I'm using PortB as DIO with the direction register set up as 0x0F so I 
can use the first 1-4 as outputs and 6-9 as inputs (pin 5 is ground).  
The outputs work fine but when I'm trying to use the inputs all the 
pins are high even though they shouldn't be.  For a while I was trying 
to figure out why my (simple) code wasn't working, then I put a few 
print statements in to see where it was hanging up and found it was 
going to a part of the code which was based on one of these inputs 
being high.  I knew the input shouldn't be high but just to make sure i 
took out all the connections to verify it couldn't possibly be coming 
from my circuit.  With nothing going to any of the inputs the pins are 
a logic '1', which must be coming from somewhere else on the board.  
Anyone dealt with this before?    


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

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU