Page 1 of 1
Serial Lcds ?
Posted: Fri Mar 12, 2010 12:11 pm
by john hauton
Hi,
Having used eblocks and flowcode for some time now, mainly at a hobby level, I think it is one of the best ways to learn about microcontrollers and programming. If I had to pick one area where things could be slightly easier, it would be to have a serial lcd eblock. They use a lot fewer i / o lines.
Any thoughts......
Thanks for an easy and interesting path for mcu programming.
Regards John
Re: Serial Lcds ?
Posted: Fri Mar 12, 2010 2:57 pm
by Benj
Hello John
Many thanks for your comments.
We are releasing a new full colour graphical LCD module in the near future that uses SPI for communications which will mean that you only need 3 pins for communicating with the module.
Re: Serial Lcds ?
Posted: Sun Apr 04, 2010 4:02 pm
by vincentchong
Hi ben,
can you kindly explain the macros : command, ram_write and scroll display for LCD component? As i have been trying to use them.
Thanks
Vincent
Re: Serial Lcds ?
Posted: Tue Apr 06, 2010 9:24 am
by Benj
Hello Vincent,
This is taken from the component help file,
ScrollDisplay(BYTE Direction, BYTE Num_Positions)
Scrolls the display data left or right by a number of positions specified by the Num_Positions variable.
If the Direction byte is 0, 'l' or 'L' then the LCD data will scroll to the left.
If the Direction byte is 1, 'r' or 'R' then the LCD data will scroll to the right.
RAM_Write(BYTE nIdx, BYTE D0, BYTE D1, BYTE D2, BYTE D3, BYTE D4, BYTE D5, BYTE D6, BYTE D7)
Modifies the internal memory of the LCD device to allow for up to 8 customised characters to be created and stored into the device memory.
Custom characters are referenced by using a nIdx parameter of 0 - 7 to specify the customised character you wish to edit.
The Dx bytes define the 8 data columns that are associated with the custom character.
To print out the custom charater on the display use the PrintASCII macro using the number as the Character parameter.
NOTE. This macro does not simulate.
Re: Serial Lcds ?
Posted: Fri Apr 16, 2010 11:31 am
by john hauton
Hi,
Thanks for the info Benj, it will be somethin to look forward to.
Sorry about the delay in replying, computer trouble !!??!!
Kind regards John
Re: Serial Lcds ?
Posted: Sat Jul 03, 2010 4:08 pm
by Jay Dee
Hi Benj,
The Scroll Info is great, You mentioned that this info was part of the component help file. I must be having a slow day because I can find this information in the help file.
In the help menu I've run a FIND for LCD, scroll, ram, ram_write etc but cant find the info. Am I looking in the wrong place.
Cheers,
John.
Re: Serial Lcds ?
Posted: Sat Jul 03, 2010 8:07 pm
by Benj
Hi John,
Sorry the main Flowcode help file is seperate from the individual component help files so this is probably why you can find any of the info.
To get the component help you must click on the component (right click v4 / left click down arrow v3) and select help from the menu.