display problem

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Nasim_Khaliqhey
Posts: 3
http://meble-kuchenne.info.pl
Joined: Mon Jan 11, 2021 1:03 pm

display problem

Post by Nasim_Khaliqhey »

Hi Dears
I am using four flowcodes ,flowcode :6,7,8,9, in last few year in my spare times .
I have not been able to get the programmed data to be display in deference displays
lcd 16x2 ,x4 & so on they are all with DH44780 drive chip,
the last project I using Device 16F877A ,with 20MHz crystal, 33 PF (2 ceramic capacitor)
lcd 16x2.
In test of 1 sec programming I get good result waveform in my oscilloscope & constant
led ON.
As I use logic gates ICs regarding to Boolean Algebra calculation they work .
I hope my mentioned flowcodes software are usable for my projects.
looking forward
hearing from an expert adviser.
wr
Nasim
Flowcode9 lcd pin connection try.fcfx
(11.76 KiB) Downloaded 340 times

BenR
Matrix Staff
Posts: 1936
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: display problem

Post by BenR »

Hi Nasim,

Looks like you're close, the only thing your program seems to be missing is a call to the lcd_start function which needs to happen before you call any of the other LCD macros.
Start.jpg
Start.jpg (32.67 KiB) Viewed 2725 times
The only other thing you may have to do is set the contrast of the LCD using a potentiometer as shown here.

https://www.flowcode.co.uk/wiki/index.p ... onnections

jgu1
Posts: 797
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 686 times
Been thanked: 177 times

Re: display problem

Post by jgu1 »

Hi

Seemed like you forgot the Start/initial in the beginning.


Br Jorgen

Edit:
Well, Benn and I reply same time :D ;)
Attachments
Flowcode9 lcd pin add start.fcfx
(11.93 KiB) Downloaded 359 times

Post Reply