This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using LCD and LED_Block at the same time

Hello, i'm working on a project where I have to use the LCD and two LEDs at the same time.

LCD is commonly on Port 3. So the LEDS are !
LCD will use 7 bits from the port 3, and both LEDs will use one bit each.

The problem is that the port is 8-bit.

Can I use the LCD on another port, for the example Port 1 ? (Silicion laboratories tells that we should use 4 bits of data on the Port 1). If it is effectively possible, how should I proceed ?

Or, can I use LEDs on another port ? Then, how to initialize the port to handle the LED_Block.

0