Page 1 of 1

EB037 EBM001 GLCD - Easy layout of Labels and Values

Posted: Wed Nov 23, 2016 4:47 pm
by Jay Dee
Hi,
Been playing with the EBM001 GLCD unit and an ECIO40P.
!! Check the pin assignment is correct for your PIC, I was using ECIO Port C and the patch jumpers on the EB084 board. !!

In a typical project development, I often need to just monitor a load of values. A pre-made layout for labels and writing variable values, can be handy.
The following FC uses three macros,
Disp_DrawFrame - creates a simple framework, with title bar and 9 slots for text labels and variable values.
Disp_ValueText - writes the user defines labels
Disp_UpdateNumbers - Clears the old value and write the latest variable value.

Things are spaced out to give 12 characters for the label and 6 number characters for values, so enough for Signed 16 bit variable.

Its not a highly polished project but handy for development and learning simple things to do with the EBM001 GLCD.
I used Bens improved components and it works well on the bench,
GLCD_Frame and Values - Test1.fcfx
(26.67 KiB) Downloaded 477 times
EBM001_Frame.PNG
Screen Shot of Display in Simulation
(11.72 KiB) Downloaded 3924 times
May be helpful to others,
Cheers, J.

Re: EB037 EBM001 GLCD - Easy layout of Labels and Values

Posted: Wed Nov 23, 2016 6:25 pm
by Benj
Thanks for posting, looks very nice.

Key-value pairs (name & value) come up quite a bit especially in things like HTML forms or XML so a set of macros or a component to easily display them is a very good idea.