LCD Cursor and blinking

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

LCD Cursor and blinking

Post by Jan Lichtenbelt »

Uisng the LCD board EB005, preventing the cursor and blinking, standard the C-code RawSend(0x06, 0); is used in the Start() macro.

However, using Flowcode 4 and PIC programmer EB006 the LCD shows a blinking cursor. I checked the C-program on stetting the blinking cursor, which is equal to RawSend(0x0F,) but I could not find it.

How to prevent a blinking cursor?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LCD Cursor and blinking

Post by Benj »

Hello,

Does the blinking cursor persist if you power off and back on holding the reset button? We have not changed anything in the component code that would cause the cursor you are describing so maybe something has happened to damage or corrupt the controller chip inside your LCD?

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: LCD Cursor and blinking

Post by Jan Lichtenbelt »

I found, by accident, the solution. If one powers the LCD by means of an ouput port, the cursor will be left and blinking. If the LCD is powered, as adviced, by means of 5 Volt, the cursor is hidden (and thus not blinking).

The conclusion: DO NOT power the LCD by means of a port of the microcontroller.

Post Reply