Code compilation problem.

Hello dear friends, this is close to a week that I work on a project. The purpose of the project is to be able to read the data as soil moisture, air humidity and the temperature of a plant with a smartphone. So I used the hygrometry sensor, the DHT11 sensor, the bluetooth module. But the problem is that I can not compile my code. So in the hope of finding help, I asked close to you in the end for help. Please help me.
Here is the code.

[#define Temperature and Humidity sensor A0 // Analog pin A0 of Arduino Uno
int sensorPin = A0;
int output_value ;
int ledPin1 = 13;
int ledPin2 = 12;
int ledPin3 = 11;
int motor_pin = A1; // Define motor position
//——————————————————————————————————————————————
#define Sensor_PIN No.
void setup()
{
(ledPin1, OUTPUT); (ledPin2, OUTPUT); (ledPin3, OUTPUT); // Define the pinModes
pinMode(motor_pin, OUTPUT); // set A1 to an output so we can use it to turn on the transistor
Serial.begin(9600); // Baud Rate
Serial.println(“Reading From the Sensor …”);
}
//—————————————————————————————————————————————-
void loop()
{
// READ DATA
Serial.print(“Define Sensor, \t”);
int chk = (sensorPin, OUTPUT);
switch (chk)
{
case sensorPin_OK:
Serial.print(“OK,\t”);
break;
case SensorNameLIB_ERROR_CHECKSUM:
Serial.print(“Checksum error,\t”);
break;
case SensorNameLIB_ERROR_TIMEOUT:
Serial.print(“Time out error,\t”);
break;
default:
Serial.print(“Unknown error,\t”);
break;
}
//——————————————————————————————————————————————
// DISPLAY DATA
Serial.print(“Humidity:”);
Serial.print(sensorname.humidity, 1);
Serial.print("%");
Serial.println(",\t");
Serial.print(“Temperature:\t”);
Serial.print(sensorname.temperature, 1);
Serial.println(“C”);
value= analogRead(sensor_pin);
value = map(value,550,0,0,100);
Serial.print(“Mositure : “);
Serial.print(output_value);
Serial.println(”%”);
if (Humidity value>10)
{
Sensorinput gets HIGH; //green LED ON
}
else {
Sensorinput gets LOW; //Digital Output
}
if (Sensor value>31)
{
Sensorinput gets HIGH; // Digital output
Serial.println(“Tempearture is HIGH”); //yellow LED ON
}
else {
Sensorinput gets Low;
}
if (value>50)
{
Sensorinput gets HIGH;
Serial.println(“Moisture is high”);// RED
}
else {
Sensorinput gets LOW;
}
if (output_value<10) { Serial.println(“output value is low”); Sensorinput gets HIGH; // Digital output delay(x); Sensorinput gets LOW; // Digital output delay(x); } else { Sensorinput gets HIGH; //Digital output } if(Serial.available()>0)
{
char data = Serial.read();
if (data == ‘a’)
{
Motorinp pin gets HIGH; //Digital output
}
else if(data == ‘b’)
{
Motorinp pin gets LOW; //Digital output
}
}
delay(x);
}
//
// END OF FILE
//—————————————————————————————————————————————]

To make it easy for people to help you please modify your post and use the code button </>
codeButton.png

so your code looks like this

and is easy to copy to a text editor. See How to use the Forum

...R

Sensorinput gets Low;Where else did you see that?

#define Temperature and Humidity sensor A0 // Analog pin A0 of Arduino Uno

You can't have spaces in an identifier. This line defines the identifier "Temperature" to be substituted with the value "and Humidity sensor A0". That makes no sense.

Similarly, you have "Sensor_PIN" defined to be a substitute for "No.".

You have three 'pinMode' function calls where you forgot to say 'pinMode'.

The line "int chk = (sensorPin, OUTPUT);" doesn't do what you expect.

You are comparing the integer 'chk' against the undefined variable "sensorPin_OK".

In other words, much of this 'sketch' is not valid code. You should look more carefully at whatever examples you are trying to follow. Also note that many random expressions will compile without error but they will NOT do what you intended them to do.