EB037 EBM001 GLCD - Easy layout of Labels and Values
Posted: Wed Nov 23, 2016 4:47 pm
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, May be helpful to others,
Cheers, J.
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, May be helpful to others,
Cheers, J.