Sending BYTE variable as text to i2c 20x4 LCD liquidcrystal_I2C library

Im new to arduino and learning as fast as I can. Ive had no problems displaying text on the LCD, but now Im trying to make a simple 60 second count down timer and I can’t figure how to send the “count” variable to the LCD as a number. This code worked fine with “count” replaced with raw text but will not compile as shown. Im sure Ive missed something very simple I just cant figure out what.

#include <Wire.h>

#include <LiquidCrystal_I2C.h>

LiquidCrystal_I2C lcd(0x27,20,4);  // set the LCD address to 0x27 for a 16 chars and 2 line display
byte count = 60;

void setup()
{
                // initialize the lcd 
  lcd.init();
  lcd.backlight();
  
}


void loop()
{

  do {
   
  lcd.setCursor(3,0);
  lcd.print(count);
 
  
  delay (1000);

  lcd.clear();

  count = count - 1;

  
  }while (count > 0);
  
  count = 60;
  
  
}

Please post the full error message

Never mind I somehow had the wrong board set in IDE, fixed and it compiles and runs fine now.

You can probably work a better way of organising your countdown without the do {} while loop...
Use the main loop() to do the increment & work for you, and see if you can use millis() timing instead of delay()...just good style. Easier to expand later.