#include <LiquidCrystal_I2C.h>
#include "BigFont02.h"

uint16_t f_new = 1015;

LiquidCrystal_I2C lcd(0x27, 16, 2);
BigFont02   big(&lcd);

void setup() 
{
  lcd.init();
  lcd.backlight();

  big.begin();

  lcd.setCursor(13, 0);
  lcd.print("MHz"); 
}

void loop() 
{
  big.writeint(0, 0, f_new / 10, 3, false);
  lcd.write(46);
  big.writeint(0, 10, f_new % 10, 1, false);
}