LCD Terminal AppMod
Yuji
Posts: 2
Hello Everyone,
This is my first post. I just got my LCD terminal appmod but am a little confused on its use. In the literature on the very last page, there is a schematic that suggests that the buttons are·active-high on pins 4-7. I just got through the chapter in "What's a Microcontroller" on pushbuttons and wanted to try to do this on the LCD appmod but to no avail. Can anyone help?
This is my first post. I just got my LCD terminal appmod but am a little confused on its use. In the literature on the very last page, there is a schematic that suggests that the buttons are·active-high on pins 4-7. I just got through the chapter in "What's a Microcontroller" on pushbuttons and wanted to try to do this on the LCD appmod but to no avail. Can anyone help?
Comments
If you want to use the LCD and the buttons, you should use the code that comes along with the AppMod (see the routine called LCD_Get_Buttons). This routine takes care of pin direction so that it can read the buttons (result is stored in Nib variable called "buttons") and then reset the pin directions so that the LCD can be written to again. Please note that the LCD AppMod demo code is carefully crafted and does work; start with it and build your own programs from what has already been tested.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
There are plenty of examples of how to both write to the LCD and read the keys in that program. If you havn't tried it do so, well worth the time for the education.
(Sorry to be a little late with this post)