Page 1 of 1

gLCD (EB076/uLCD32-PT-sgc) Bargraph

Posted: Sat May 11, 2013 9:04 pm
by BChappy
Hi all,

Attached is a simple Flowcode V5 program to generate a bar graph on a gLCD (EB076/ uLCD32-PT- sgc) in *LANDSCAPE view.
I used the uLCD32-PT-sgc, not E-Blocks.
The program uses an 18F26K22 target device @ 64MHz ( x4 pll enabled /C. Code).
It is very basic, displays the ADC value as a number, and generates a bargraph from the ADC value. The ADC is constantly read in a loop and the current value is compared with the previous value and updated if different.

*LANDSCAPE orientation is achieved by downloading the .pmmc file and loading it to the gLCD using 4DSystems pmmc loader.
You can use third party USB to serial as I did, but I recommend you double check compatibility and connections otherwise the gLCD could be damaged!
If you are not sure of the compatibilty/connections purchase the dedicated programming adapter.

My PICKIT 3 powers the PIC, gLCD, with 10k pot connected, quite happily without issues!

Have fun! :D

Best regards

Brian