Arduino LCD character single clear

hi i need some help with clearing a single character on the LCD push button shield. i have tried using the
lcd.print(" ") and that does not work for my code. here is my code:

thanks!

dino_move_game.ino (1.35 KB)

Please post your code.

Use CTRL T to format your code.
Attach your sketch between code tags
[code]Paste your sketch here[/code]

Your code doesn't have a space between the quotes...

lcd.print(" ");

You will need to add:

// Specify the LCD's number of columns and rows. Change to (20, 4) for a 20x4 LCD:
lcd.begin(16, 2);

whm10:
the code is in the link on my first message

Whoop-de-do.

And now, for those of us on mobile devices . . ?

Whoop-de-do.

And now, for those of us on mobile devices . . ?

what happens is the code does this
dino
11
when i want it to do
dino
1
then
dino
1
ok here is part of it:

void setup()
{
// Setup the LCD display
lcd.begin(16, 2);
// Set cursor to top line first position
lcd.setCursor(0,0);
// Print message on first line
lcd.print("DINO");
}

void loop()
{

// Move to the begining of the second line
lcd.setCursor(4,1);
lcd.print("1");
// Call the read buttons function
lcd_key = read_LCD_buttons();

// Print button value on second line
switch (lcd_key)
{
case btnRIGHT:
{
lcd.clear();
lcd.setCursor(0,0);
// Print message on first line
lcd.print("DINO");
lcd.setCursor(5,1);
lcd.print("1");
break;
}
case btnLEFT:
{
lcd.print("LEFT ");
break;
}
case btnUP:
{
lcd.print("UP ");
break;
}
case btnDOWN:
{
lcd.print("DOWN ");
break;
}
case btnSELECT:
{
lcd.print("SELECT");
break;
}
case btnNONE:
{
lcd.print("");
break;
}
}

}

Any good excuse for not using code tags?
Or posting all the code?

I don't know what a code tag is
and that was not all the code

Point 6

Find out what a code tag is.
This is not all of my answ.

I don't know what a code tag is

Read this before posting a programming question

and that was not all the code

that was AWOL's point

…and the rest of the code?

(This is getting tedious, rapidly)

TheMemberFormerlyKnownAsAWOL:
Whoop-de-do.

And now, for those of us on mobile devices . . ?

larryd:
https://youtu.be/mzdaRx3IEpw

My ears!
My eyes!

How could you do that to another human being?

what happens is the code does this
dino
11
when i want it to do
dino
1
then
dino
1

i have tried using the
lcd.print(" ") and that does not work for my code

I don't see where you do that in your code.

lcd.setCursor(4,1);
lcd.print("1");

lcd.setCursor(5,1);
lcd.print("1");