16x2 LCD unable to display

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 6.

Moderator: Benj

Post Reply
mems888
Posts: 2
Joined: Sat Oct 15, 2016 8:44 am
Been thanked: 1 time

16x2 LCD unable to display

Post by mems888 »

LCD test.png
Screenshot
(199.16 KiB) Downloaded 1057 times
I am a newbie in flowcode 6 and appreciate any pointers in solving my display problem.

Platform: Arduino Leonardo (tested working with simple onboard LED blinking program)
LCD Platform: Similar to this one from another ebay seller
http://www.ebay.com.sg/itm/LCD-1602-Key ... Swd0BV3Ixs

PB6 is the backlight control for the 16x2 LCD
PD7 to LCD Data Bit 7
PD6 to LCD Data Bit 6
PD5 to LCD Data Bit 5
PD4 to LCD Data Bit 4
PB5 to LCD E
PB4 to LCD RS

I have wrote a simple LCD test program and even the simulator is not able to display after hitting F5. Can flowcode connect to LCD's upper 4 bit? Because at FC6 what shown in properties are Pin_Data_0 ~ 3 and there is no selection to change it to Pin_Data_4 ~7.

Thank you in advance.

mems888
Attachments
LCD Test.fcfx
in Flowcode 6
(10.08 KiB) Downloaded 250 times

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: 16x2 LCD unable to display

Post by medelec35 »

Hi mems888,
Every time you add a component e.g LCD display they are added in the very center of either Dashboard or system panel.
So if add more than one they will be on top of each other.
You wont even notice if the components are exactly the same size.
That is what you have done.
If you double click a component macro on your flowchart you will see you have added 9 different LCD's!
there are 5 on the System panel and 4 on on the dashboard panel:
LCD Components.png
(153.64 KiB) Downloaded 2271 times
Select (hold left mouse button) the top one of each panel and drag it out of the way which is what I had to do.
You can zoom in and out on the panel by holding down Ctrl while rotating mouse scroll wheel.
If hardware only has one LCD then you must delete all the other 8 before compiling.
Just select and delete the LCD's on the two panels as it will not allow you to delete any compnents that are within flowchart itself.

If you look at the above image you can see which LCD should only be present as it displays Test

Martin
Martin

mems888
Posts: 2
Joined: Sat Oct 15, 2016 8:44 am
Been thanked: 1 time

Re: 16x2 LCD unable to display

Post by mems888 »

Hi Martin

Thanks for your speedy reply and the problem is fixed in a flash!

Cheers!

Best Rgds.
mems888

Post Reply