Книга: Advanced PIC Microcontroller Projects in C
Connecting the LCD
Connecting the LCD
The mikroC compiler assumes by default that the LCD is connected to the microcontroller as follows:
LCD Microcontroller port
D7 Bit 7 of the port
D6 Bit 6 of the port
D5 Bit 5 of the port
D4 Bit 4 of the port
E Bit 3 of the port
RS Bit 2 of the port
where port is the port name specified using the Lcd_Init statement.
For example, we can use the statement Lcd_Init(&PORTB) if the LCD is connected to PORTB with the default connection.
It is also possible to connect the LCD differently, using the command Lcd_Config to define the connection.
Оглавление статьи/книги
Похожие страницы
- 4.4.4 The Dispatcher
- About the author
- Chapter 7. The state machine
- Appendix E. Other resources and links
- Example NAT machine in theory
- The final stage of our NAT machine
- Compiling the user-land applications
- The conntrack entries
- Untracked connections and the raw table
- Basics of the iptables command
- Other debugging tools
- Setting up user specified chains in the filter table