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.
EB037 EBM001 GLCD - Easy layout of Labels and Values
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: EB037 EBM001 GLCD - Easy layout of Labels and Values
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel