Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: 8051



[EMAIL PROTECTED] (Brian Farmer) wrote in 
news:[EMAIL PROTECTED]:

> I am using Atmel's 20-pin 8051. My question is how do I assign Port 1
> as an output, becuause once I program the chip I have to reset it once
> to get it to not have P1 floating. After the reset it works fine. I
> don't assign the P1 direction one way or the other for now.
> 
> On the Motorola 68HC11 I would use the data direction register, but
> with the 8051 what do I do?
> 

8051s in general do not have any way of programming the port direction per 
se.  I believe that you need pull down resistors externally in order to use 
them as output pins, I am sure others here will be able to be more helpful.

-- 
Richard



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.