Is there anything wrong with the below code placed BEFORE setup??
#include <EEPROM.h>
//#include <LiquidCrystal.h>
#include <SPI.h>
#include <LiquidCrystal_I2C.h>
#include <Wire.h>
#define TIMECTL_MAXTICKS 4294967296 // 2^32
#define DDS_CLOCK 125000000 //DDS reference clock freq
#define Fstep10 10 // 10 Hz step
#define Fstep100 100
#define Fstep1K 1000
#define Fstep10K 10000 //10,000 Hz step
//100K step bigger then 16 bits
//encoder
const int enclk = A0; //define encoder pin A
const int endata = A1; //define encoder pin B
volatile int c = HIGH; // init state of pin A
volatile int cLast = HIGH; // init last val the same, low
volatile int d = HIGH; // make data val low
//frequency tuning
volatile int stepsize = 4; // tuning rate pointer
word stepK ; // temp storage of freq tuning step
volatile int BANDpointer = 2; // init band pointer to 80M
volatile int state; // switch state register
//define switch input pins
const int band_sw1 = A2; // change freq tuning step
const int rate_sw2 = A3; // change bands
const int txen_sw3 = 7; // enable RF output when low. Original = A4. Trying pin D4 (pin 7).
const int F_ud = 10; // DDS frequency load pin
boolean txen_state = LOW;
const int transmit_on = 8;
long int tword; //the tuning word for the module
long int freq = 0; //a value for frequency
volatile long int max_low_limit = 0 ; // lowest tuning limit
volatile long int max_high_limit = 30000000; // highet tuning limit
volatile long int low_band_limit; //low limit, band tuning
volatile long int high_band_limit; //high limit, band tuning
//LiquidCrystal lcd(7, 6, 5, 4, 3, 2); //set up lCD pins. This is only for palin vanilla LCD !!!
LiquidCrystal_I2C lcd(0X27,16,2);