Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/10/05 20:12
Read: times


 
#87105 - Corrected web site address Below:
Responding to: ???'s previous message
Hello Kalpak Dabir,

Here is the correct web address. http://forum.microchip.com/tm.asp?m=...chor#75446
There was a space character between "?m" which made it unusable.

Below is a portion from that forum.

This is definitely irrelevant posting all way around.

Regards,

Charles Bannister

Using ports of 89C51


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

Hi everyone !
I have to write a Assembler code for T89C51AC2 to generate PWM and I want that the duty cycle will be controlled by 8 bits from PC (8255). I used port 0 for inputs to microcontroller. In theory, when port 0 is 00H, the duty cycle will be 0% and when port 0 is FFH the duty cycle will be 100% . In fact, when I set the port 0 is 00H, the duty cycle is 0% (it seem to be correct). But when I only set port 0 is not 00H (even 01H) then the duty cycle is nearly 100%. I don't know why. Can someone tell me the solution?
Note: I connect direct output of 8255 to port 0 of T89C51AC2.


List of 9 messages in thread
TopicAuthorDate
King of irrelevant posting            01/01/70 00:00      
   .            01/01/70 00:00      
   and..            01/01/70 00:00      
      Longest thread            01/01/70 00:00      
         Thats a long one            01/01/70 00:00      
            Looking for a long thread?            01/01/70 00:00      
   Corrected web site address Below:            01/01/70 00:00      
   the king is this then the prince?            01/01/70 00:00      
      Makes me wonder            01/01/70 00:00      

Back to Subject List