Search found 3 matches
- 12 Apr 2010 09:46
- Forum: mikroC General
- Topic: TRIS AND PORT PROBLEMS HELP NEEDED
- Replies: 11
- Views: 12893
Re: TRIS AND PORT PROBLEMS HELP NEEDED
I was wondering, what if a pin is the input and output? Can you make it so that when u declare TRISx that one of the pin is don't care? I probably can do this by declaring TRISx.0 to TRISx.7 as the input or output and just ignore the pin that is both. What is the don't care symbol?
- 11 Aug 2008 09:03
- Forum: mikroC General
- Topic: Using D0-D3 for 4-bit HD44780 databus
- Replies: 3
- Views: 1607
What I wanted is to use D0 to D3 as the 4bit databus for HD44780. What i found later is that it cannot be done without maybe reprogram the LCD controller. In the end I worked for hours to find a way around this problem which is in the beginning the hardwae designer's problem. Now, he's back fixing t...
- 10 Aug 2008 18:53
- Forum: mikroC General
- Topic: Using D0-D3 for 4-bit HD44780 databus
- Replies: 3
- Views: 1607
Using D0-D3 for 4-bit HD44780 databus
I'm using mikroC with PIC18F452 to display text on a 16x2 HD44780 LCD screen. The circuit I'm given has the databus from the PIC connected to D0-D3 instead of D4-D7 of the LCD. The default and only way is using D4-D7. The person who gives me the hardware board tells me to assign low bit or something...