Blinking cursor problem

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
nc56
Posts: 60
Joined: Thu Nov 15, 2012 1:21 pm
Has thanked: 14 times
Been thanked: 4 times

Blinking cursor problem

Post by nc56 »

Hi all ,
I refered to this thread to make cursor blinking : http://www.flowcode.co.uk/mmforums/viewt ... +lcd#p2489
It's blinking but not in the right position , for exemple :

Start()
Cursor(0, 0)
Command(0x0F)
PrintNumber(1)

the cursor is blnking in the position (1,0) !
Thank you for your help .

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: Blinking cursor problem

Post by Benj »

Hello,

It sounds like you set the cursor to position 0,0.

You then switch on the cursor so it is visible.

You then print the number 1 which prints 1 at location 0,0 and moves the cursor to 1,0.

This all sounds correct to me.

If you want the cursor to blink where the number 1 has been printed then you will need to set the cursor position to 0,0 again after printing the number.

Post Reply