
rows and then at the columns and making the appropriate steps through
the table values. In section (10) the table read instruction is used to
determine the displayed value of the individual key, which is then placed
on Port B which illuminates the corresponding LEDs.
LCM
This unit describes the use of an 8-bit microcontroller used in conjunction
with a DV16100NRB liquid crystal display. This LCM is driven and control-
led by an internal Hitachi HD44780 device. In this application only the
timing requirements of the LCM need to be considered to produce the
correct microcontroller signals. For more detailed timing and instruction
information, the LCM manufacturer’s data should be consulted first.
LCMs can operate in either 4 bit or 8 bit mode. Using a 4 bit mode of
operation, transmitting a character or an instruction to the module re-
quires two transmission events to complete the operation. With an 8-bit
mode of operation only one transmit event is required, however an extra 4
I/O lines are required. This section shows the use of the statements #define,
if, else and endif.
Circuit design
PB0~PB7 are setup as I/O bits while PC0~PC2 as the LCM control lines
are setup as outputs. These can be setup according to the specific user
requirements.
HT-IDE User’s Guide
196
Summary of Contents for HT-IDE
Page 11: ...P a r t I Integrated Development Environment Part I Integrated Development Environment 1 ...
Page 12: ...HT IDE User s Guide 2 ...
Page 20: ...Fig 1 6 Fig 1 7 HT IDE User s Guide 10 ...
Page 24: ...HT IDE User s Guide 14 ...
Page 70: ...HT IDE User s Guide 60 ...
Page 76: ...HT IDE User s Guide 66 ...
Page 92: ...HT IDE User s Guide 82 ...
Page 93: ...P a r t I I Development Language and Tools Part II Development Language and Tools 83 ...
Page 94: ...HT IDE User s Guide 84 ...
Page 148: ...HT IDE User s Guide 138 ...
Page 150: ...Fig 12 1 Fig 12 2 HT IDE User s Guide 140 ...
Page 154: ...HT IDE User s Guide 144 ...
Page 192: ...HT IDE User s Guide 182 ...
Page 194: ...HT IDE User s Guide 184 ...
Page 218: ...HT IDE User s Guide 208 ...
Page 235: ...P a r t V Appendix Part V Appendix 225 ...
Page 236: ...HT IDE User s Guide 226 ...
Page 250: ...HT IDE User s Guide 240 ...