v9 - Generic LCD display properties

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Steve_D
Posts: 2
http://meble-kuchenne.info.pl
Joined: Wed Dec 16, 2020 4:12 am
Location: Queensland, Australia

v9 - Generic LCD display properties

Post by Steve_D »

Hi,I'm not sure if this is a bug or not, but...

I created a blank flowcode v9 project using Arduino Mega 2560 as the target, then placed a Generic LCD display on the 2D panel. In the properties of it the RS & Enable pins are assigned the same pins as Data 4 & Data 5, I can change them but am wondering why this is happening?

Please refer to attached image

Regards, Steve
Flowcode v9 Generic Display.JPG
Flowcode v9 Generic Display.JPG (100.63 KiB) Viewed 1899 times

Steve-Matrix
Matrix Staff
Posts: 1267
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 168 times
Been thanked: 279 times

Re: v9 - Generic LCD display properties

Post by Steve-Matrix »

Components like this are designed to work across a wide range of target devices, some of which have a low pin count. The default settings take this into account and put the display into 4bit mode with RS and Enable on the same port. When you change to the full port, it makes sense for whole port to be used for data lines, but this necessitates manually changing the RS and Enable lines.

We could have designed components to have different default settings for different targets, but this would be a lot of effort.

As you say, these defaults can be modified and so there should be no real problem using this (and other) components.

Steve_D
Posts: 2
Joined: Wed Dec 16, 2020 4:12 am
Location: Queensland, Australia

Re: v9 - Generic LCD display properties

Post by Steve_D »

Thanks Steve :)

Post Reply