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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/07/02 14:02
Read: times


 
#18414 - RE: Why to set FFh to port when using LCD ?
You should set the PORT to 0xFF, otherwise the internal transistors in the mcu are shorted to ground. When you set the port to 0xFF all the pins are helt high by pull-up resistors.
That means that you can set a HIGH pin on the MCU LOW but you can NOT set a LOW pin to HIGH..

If you write 0x00 to the port with your program you will always read a 0x00 value even if you put 5V+ on the pin, you will burn out the port if you do this..



List of 6 messages in thread
TopicAuthorDate
Data is masked when reading from LCD            01/01/70 00:00      
RE: Data is masked when reading from LCD            01/01/70 00:00      
RE: Data is masked when reading from LCD            01/01/70 00:00      
Why to set FFh to port when using LCD ?            01/01/70 00:00      
RE: Why to set FFh to port when using LCD ?            01/01/70 00:00      
RE: Data is masked when tran            01/01/70 00:00      

Back to Subject List