General discussion relating to the library modules supplied with the compiler
Moderators: David Barker, Jerry Messina
-
Jerry Messina
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Post
by Jerry Messina » Mon Oct 20, 2014 6:58 pm
The outline worked with both, however when the baudrate and TXTSTA line lines were enabled, the right side display did not work including the outline
I think that means that you can't take control of the TX pin when the uart is enabled since when PORTC.6 was a regular IO pin then GLCD was able to control it.
If you're all out of pins do you really need the GLCD_RST line? Maybe you could connect PORTA.0 to CS3 instead of PORTC.6.
-
xva3rjy
- Posts: 40
- Joined: Sat Sep 27, 2014 11:41 am
Post
by xva3rjy » Mon Oct 20, 2014 8:21 pm
Jerry I used your suggestion, and utilized PORTA.0 for CS3 instead of PORTC.6.
It's working now. THANKS AGAIN!!
Would you know where I can find a example of code on how to setup 3 push button inputs for the purpose of editing GLCD menus? (ie, change date/time for clock, change variables, etc..)
-
Attachments
-
![PHOTO5 (2).JPG](./download/file.php?id=39&sid=b2a75e7e1c717ef6f24eda87ae805837)
- PHOTO5 (2).JPG (16.31 KiB) Viewed 3511 times
-
![PHOTO5 (1).JPG](./download/file.php?id=38&sid=b2a75e7e1c717ef6f24eda87ae805837)
- PHOTO5 (1).JPG (15.59 KiB) Viewed 3511 times
-
Jerry Messina
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
Post
by Jerry Messina » Tue Oct 21, 2014 11:02 am
This might be a little advanced for just starting out, but there's an
LCDMenu module on the wiki. It would have to be adapted for GLCD since it uses the regular LCD module.
If nothing else maybe you can get some ideas from it.