Please help in rf amplifier code

Hi
I have rf amplifier with built in sensors ,


I tried to make the code to read the output on lcd screen but something is wrong. Any ideas?

'#include <LiquidCrystal.h>

// Initialize the LCD with the pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
// Set the pin modes
pinMode(3, INPUT);
pinMode(7, INPUT);
pinMode(6, INPUT);

// Initialize the LCD
lcd.begin(16, 2);
lcd.clear();
}

void loop() {
// Read the sensor values
int forward_power = analogRead(3);
int reflected_power = analogRead(7);
int temperature = analogRead(6);

// Convert the sensor values to the appropriate units
float forward_power_dbm = (forward_power / 1024.0) * 5.0;
float reflected_power_dbm = (reflected_power / 1024.0) * 5.0;
float temperature_c = (temperature / 1024.0) * 80.0;

// Display the values on the LCD
lcd.setCursor(0, 0);
lcd.print("Fwd: ");
lcd.print(forward_power_dbm, 2);
lcd.print(" dBm");

lcd.setCursor(0, 1);
lcd.print("Ref: ");
lcd.print(reflected_power_dbm, 2);
lcd.print(" dBm");

lcd.setCursor(0, 2);
lcd.print("Temp: ");
lcd.print(temperature_c, 2);
lcd.print(" C");

delay(1000);
}'

How many guesses do we get?

Yes you did not read the forum guidelines. Please read the advice in the topic "How to get the best from this forum". How to get the best out of this forum

After you read this you will know to post using code tags.

Did it compile clean? What was the output when you ran it.