how to combine this arduino sketch..

  1. FIRST SKETCH… (fingerprint+lcd+sd)
#include <SPI.h>
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
#include <SD.h>
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11,8, 7, 6, 5);
const int chipSelect = 4;
File myFile;
int x=0;
int y=0;
int getFingerprintIDez();
uint8_t getFingerprintEnroll(uint8_t id);
SoftwareSerial mySerial(2, 3);
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);
void setup()  {
lcd.begin(16,2); lcd.setCursor(0,0); lcd.print("Scanear Huella"); 
pinMode(13,OUTPUT); 
pinMode(12,OUTPUT); 
pinMode(9,OUTPUT);
pinMode(11, OUTPUT); 
pinMode(0, OUTPUT);
pinMode(0, OUTPUT);// sd
pinMode(A0, INPUT);
Serial.begin(9600);
Serial.print("initializing SD card...");   
pinMode(4, OUTPUT);                    
if (!SD.begin(4)) 
{                    
 Serial.println("initializing error!");   
 return; 
} 
Serial.println("initializing ok.");
finger.begin(57600);
if (finger.verifyPassword()) 
{
lcd.clear();
lcd.print(" Inicializando"); 
delay(1000); 
Serial.println("Found fingerprint sensor!!");
} 
else 
{
 Serial.println("Did not find fingerprint sensor ");
 while (1);
}
} // run over and over again
void loop() {
lcd.clear();
lcd.print(" id="); 
delay(1000);
Serial.println("Type in the ID # you want to save this finger as......");
uint8_t id = 0;
while (true) 
{
 while (! Serial.available());
 char c = Serial.read();
 if (! isdigit(c)) break;
 id *= 10;
 id += c - '0';
}
lcd.clear();
lcd.print(id); 
delay(1000);
Serial.print("Enrolling ID #");
Serial.println(id);
while (!  getFingerprintEnroll(id) );
}
uint8_t getFingerprintEnroll(uint8_t id) 
{
uint8_t p = -1;
Serial.println("Waiting for valid finger to enroll");
lcd.clear();
lcd.print(" waiting......¡"); 
delay(1000);
while (p != FINGERPRINT_OK) 
{
 p = finger.getImage();
 switch (p) {
 case FINGERPRINT_OK:
 lcd.clear();
 lcd.print(" Image taken¡"); 
 delay(1000);
 Serial.println("Image taken");
 break;
 case FINGERPRINT_NOFINGER:
 Serial.println(".");
 break;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 break;
 case FINGERPRINT_IMAGEFAIL:
 Serial.println("Imaging error");
 break;
 default:
 Serial.println("Unknown error");
 break;
 }
}// OK success!
p = finger.image2Tz(1);
switch (p) 
{
 case FINGERPRINT_OK:
 lcd.clear();
 lcd.print("Image converted"); 
 delay(1000);
 Serial.println("Image converted");
 break;
 case FINGERPRINT_IMAGEMESS:
 Serial.println("Image too messy");
 return p;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 return p;
 case FINGERPRINT_FEATUREFAIL:
 Serial.println("Could not find fingerprint features");
 return p;
 case FINGERPRINT_INVALIDIMAGE:
 Serial.println("Could not find fingerprint features");
 return p;
 default:
 Serial.println("Unknown error");
 return p;
}
lcd.clear();
lcd.print(" Remove finger¡"); 
delay(1000);
Serial.println("Remove finger");
delay(2000);
p = 0;
while (p != FINGERPRINT_NOFINGER) 
{
 p = finger.getImage();
}
p = -1;
lcd.clear();
lcd.print(" Place same finger again...¡"); 
delay(1000);
Serial.println("Place same finger again");
while (p != FINGERPRINT_OK) 
{
 p = finger.getImage();
 switch (p) {
 case FINGERPRINT_OK:
 Serial.println("Image taken");
 break;
 case FINGERPRINT_NOFINGER:
 Serial.print(".");
 break;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 break;
 case FINGERPRINT_IMAGEFAIL:
 Serial.println("Imaging error");
 break;
 default:
 Serial.println("Unknown error");
 break;
 }
}// OK success!
p = finger.image2Tz(2);
switch (p) 
{
 case FINGERPRINT_OK:
 lcd.clear();
 lcd.print(" Image converted¡"); 
 delay(1000);
 Serial.println("Image converted");
 break;
 case FINGERPRINT_IMAGEMESS:
 Serial.println("Image too messy");
 return p;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 return p;
 case FINGERPRINT_FEATUREFAIL:
 Serial.println("Could not find fingerprint features");
 return p;
 case FINGERPRINT_INVALIDIMAGE:
 Serial.println("Could not find fingerprint features");
 return p;
 default:
 Serial.println("Unknown error");
 return p;
}// OK converted!
p = finger.createModel();
if (p == FINGERPRINT_OK) 
{
 lcd.clear();
 lcd.print(" Prints matched¡"); 
 delay(1000);
 Serial.println("Prints matched!");
} 
else if (p == FINGERPRINT_PACKETRECIEVEERR) 
{
 Serial.println("Communication error");
 return p;
} 
else if (p == FINGERPRINT_ENROLLMISMATCH) 
{
 Serial.println("Fingerprints did not match");
 return p;
} 
else 
{
 Serial.println("Unknown error");
 return p;
}   
p = finger.storeModel(id);
if (p == FINGERPRINT_OK) 
{
myFile = SD.open("sensor.txt", FILE_WRITE);//  Stored! en sd

if (myFile) // if the file opened okay, write to it:
{
 Serial.print("Writing to sensor.txt...");
 myFile.println("sensor 1, 2, 3.");// close the file:
 myFile.close();
 Serial.println("done.");
} 
else 
{
 Serial.println("error openingsensor.txt");// if the file didn't open, print an error:
}
myFile = SD.open("sensor.txt");
if (myFile) 
{
 Serial.println("sensor.txt:");
 while (myFile.available()) // read from the file until there's nothing else in it:
 {
  Serial.write(myFile.read());
 }
 // close the file:
 myFile.close();
} 
else 
{ 
 Serial.println("error opening test.txt");// if the file didn't open, print an error:
}
lcd.clear();/// end sd
lcd.print("Stored!"); 
delay(1000);
Serial.println("¡¡ informacion Guardada");
} 
else if (p == FINGERPRINT_PACKETRECIEVEERR) 
{
 Serial.println("Communication error");
 return p;
} 
else if (p == FINGERPRINT_BADLOCATION) 
{
 Serial.println("Could not store in that location");
 return p;
} else if (p == FINGERPRINT_FLASHERR) 
{
 Serial.println("Error writing to flash");
 return p;
} else {
 Serial.println("Unknown error");
 return p;
} 
}


can anyone help me???

(Sure - I put in code tags for you. Moderator)

2)second sketch web server is this

(here too. Moderator)

#include <SPI.h>
#include <Ethernet.h>

// MAC address from Ethernet shield sticker under board
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192, 168, 0, 2); // IP address, may need to change depending on network
EthernetServer server(80);  // create a server at port 80

String HTTP_req;          // stores the HTTP request
boolean LED_status = 0;   // state of LED, off by default

void setup()
{
   Ethernet.begin(mac, ip);  // initialize Ethernet device
   server.begin();           // start to listen for clients
   Serial.begin(9600);       // for diagnostics
   pinMode(2, OUTPUT);       // LED on pin 2
}

void loop()
{
   EthernetClient client = server.available();  // try to get client

   if (client) {  // got client?
       boolean currentLineIsBlank = true;
       while (client.connected()) {
           if (client.available()) {   // client data available to read
               char c = client.read(); // read 1 byte (character) from client
               HTTP_req += c;  // save the HTTP request 1 char at a time
               // last line of client request is blank and ends with \n
               // respond to client only after last line received
               if (c == '\n' && currentLineIsBlank) {
                   // send a standard http response header
                   client.println("HTTP/1.1 200 OK");
                   client.println("Content-Type: text/html");
                   client.println("Connection: close");
                   client.println();
                   // send web page
                   client.println("<!DOCTYPE html>");
                   client.println("<html>");
                   client.println("<head>");
                   client.println("<title>Arduino LED Control</title>");
                   client.println("</head>");
                   client.println("<body>");
                   client.println("<h1>LED</h1>");
                   client.println("<p>Click to switch LED on and off.</p>");
                   client.println("<form method=\"get\">");
                   ProcessCheckbox(client);
                   client.println("</form>");
                   client.println("</body>");
                   client.println("</html>");
                   Serial.print(HTTP_req);
                   HTTP_req = "";    // finished with request, empty string
                   break;
               }
               // every line of text received from the client ends with \r\n
               if (c == '\n') {
                   // last character on line of received text
                   // starting new line with next character read
                   currentLineIsBlank = true;
               } 
               else if (c != '\r') {
                   // a text character was received from client
                   currentLineIsBlank = false;
               }
           } // end if (client.available())
       } // end while (client.connected())
       delay(1);      // give the web browser time to receive the data
       client.stop(); // close the connection
   } // end if (client)
}

// switch LED and send back HTML for LED checkbox
void ProcessCheckbox(EthernetClient cl)
{
   if (HTTP_req.indexOf("LED2=2") > -1) {  // see if checkbox was clicked
       // the checkbox was clicked, toggle the LED
       if (LED_status) {
           LED_status = 0;
       }
       else {
           LED_status = 1;
       }
   }
   
   if (LED_status) {    // switch LED on
       digitalWrite(2, HIGH);
       // checkbox is checked
       cl.println("<input type=\"checkbox\" name=\"LED2\" value=\"2\" \
       onclick=\"submit();\" checaked>LED2");
   }
   else {              // switch LED off
       digitalWrite(2, LOW);
       // checkbox is unchecked
       cl.println("<input type=\"checkbox\" name=\"LED2\" value=\"2\" \
       onclick=\"submit();\">LED2");
   }
}

Now combine the stuff before setup(), the stuff in setup(), the stuff in loop(). Functions can be left alone. Then, compile & test.

#include <SPI.h>
#include <Adafruit_Fingerprint.h>
#include <SoftwareSerial.h>
#include <SD.h>
#include <LiquidCrystal.h>
#include <SPI.h>
#include <Ethernet.h>

LiquidCrystal lcd(12, 11,8, 7, 6, 5);
const int chipSelect = 4;
File myFile;
int x=0;
int y=0;
int getFingerprintIDez();
uint8_t getFingerprintEnroll(uint8_t id);
SoftwareSerial mySerial(2, 3);
Adafruit_Fingerprint finger = Adafruit_Fingerprint(&mySerial);

// MAC address from Ethernet shield sticker under board
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress ip(192, 168, 0, 2); // IP address, may need to change depending on network
EthernetServer server(80); // create a server at port 80

String HTTP_req; // stores the HTTP request
boolean LED_status = 0; // state of LED, off by default

void setup()  {
lcd.begin(16,2); lcd.setCursor(0,0); lcd.print("Scanear Huella"); 
pinMode(13,OUTPUT); 
pinMode(12,OUTPUT); 
pinMode(9,OUTPUT);
pinMode(11, OUTPUT); 
pinMode(0, OUTPUT);
pinMode(0, OUTPUT);// sd
pinMode(A0, INPUT);
Serial.begin(9600);
Serial.print("initializing SD card...");   
pinMode(4, OUTPUT);                    
if (!SD.begin(4)) 
{                    
 Serial.println("initializing error!");   
 return; 
} 
Serial.println("initializing ok.");
finger.begin(57600);
if (finger.verifyPassword()) 
{
lcd.clear();
lcd.print(" Inicializando"); 
delay(1000); 
Serial.println("Found fingerprint sensor!!");
} 
else 
{
 Serial.println("Did not find fingerprint sensor ");
 while (1);
}
Ethernet.begin(mac, ip); // initialize Ethernet device
server.begin(); // start to listen for clients
Serial.begin(9600); // for diagnostics
pinMode(2, OUTPUT); // LED on pin 2

} 
// run over and over again
void loop() {
lcd.clear();
lcd.print(" id="); 
delay(1000);
Serial.println("Type in the ID # you want to save this finger as......");
uint8_t id = 0;
while (true) 
{
 while (! Serial.available());
 char c = Serial.read();
 if (! isdigit(c)) break;
 id *= 10;
 id += c - '0';
}
lcd.clear();
lcd.print(id); 
delay(1000);
Serial.print("Enrolling ID #");
Serial.println(id);
while (!  getFingerprintEnroll(id) );
}
uint8_t getFingerprintEnroll(uint8_t id) 
{
uint8_t p = -1;
Serial.println("Waiting for valid finger to enroll");
lcd.clear();
lcd.print(" waiting......¡"); 
delay(1000);
while (p != FINGERPRINT_OK) 
{
 p = finger.getImage();
 switch (p) {
 case FINGERPRINT_OK:
 lcd.clear();
 lcd.print(" Image taken¡"); 
 delay(1000);
 Serial.println("Image taken");
 break;
 case FINGERPRINT_NOFINGER:
 Serial.println(".");
 break;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 break;
 case FINGERPRINT_IMAGEFAIL:
 Serial.println("Imaging error");
 break;
 default:
 Serial.println("Unknown error");
 break;
 }
}// OK success!
p = finger.image2Tz(1);
switch (p) 
{
 case FINGERPRINT_OK:
 lcd.clear();
 lcd.print("Image converted"); 
 delay(1000);
 Serial.println("Image converted");
 break;
 case FINGERPRINT_IMAGEMESS:
 Serial.println("Image too messy");
 return p;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 return p;
 case FINGERPRINT_FEATUREFAIL:
 Serial.println("Could not find fingerprint features");
 return p;
 case FINGERPRINT_INVALIDIMAGE:
 Serial.println("Could not find fingerprint features");
 return p;
 default:
 Serial.println("Unknown error");
 return p;
}
lcd.clear();
lcd.print(" Remove finger¡"); 
delay(1000);
Serial.println("Remove finger");
delay(2000);
p = 0;
while (p != FINGERPRINT_NOFINGER) 
{
 p = finger.getImage();
}
p = -1;
lcd.clear();
lcd.print(" Place same finger again...¡"); 
delay(1000);
Serial.println("Place same finger again");
while (p != FINGERPRINT_OK) 
{
 p = finger.getImage();
 switch (p) {
 case FINGERPRINT_OK:
 Serial.println("Image taken");
 break;
 case FINGERPRINT_NOFINGER:
 Serial.print(".");
 break;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 break;
 case FINGERPRINT_IMAGEFAIL:
 Serial.println("Imaging error");
 break;
 default:
 Serial.println("Unknown error");
 break;
 }
}// OK success!
p = finger.image2Tz(2);
switch (p) 
{
 case FINGERPRINT_OK:
 lcd.clear();
 lcd.print(" Image converted¡"); 
 delay(1000);
 Serial.println("Image converted");
 break;
 case FINGERPRINT_IMAGEMESS:
 Serial.println("Image too messy");
 return p;
 case FINGERPRINT_PACKETRECIEVEERR:
 Serial.println("Communication error");
 return p;
 case FINGERPRINT_FEATUREFAIL:
 Serial.println("Could not find fingerprint features");
 return p;
 case FINGERPRINT_INVALIDIMAGE:
 Serial.println("Could not find fingerprint features");
 return p;
 default:
 Serial.println("Unknown error");
 return p;
}// OK converted!
p = finger.createModel();
if (p == FINGERPRINT_OK) 
{
 lcd.clear();
 lcd.print(" Prints matched¡"); 
 delay(1000);
 Serial.println("Prints matched!");
} 
else if (p == FINGERPRINT_PACKETRECIEVEERR) 
{
 Serial.println("Communication error");
 return p;
} 
else if (p == FINGERPRINT_ENROLLMISMATCH) 
{
 Serial.println("Fingerprints did not match");
 return p;
} 
else 
{
 Serial.println("Unknown error");
 return p;
}   
p = finger.storeModel(id);
if (p == FINGERPRINT_OK) 
{
myFile = SD.open("sensor.txt", FILE_WRITE);//  Stored! en sd

if (myFile) // if the file opened okay, write to it:
{
 Serial.print("Writing to sensor.txt...");
 myFile.println("sensor 1, 2, 3.");// close the file:
 myFile.close();
 Serial.println("done.");
} 
else 
{
 Serial.println("error openingsensor.txt");// if the file didn't open, print an error:
}
myFile = SD.open("sensor.txt");
if (myFile) 
{
 Serial.println("sensor.txt:");
 while (myFile.available()) // read from the file until there's nothing else in it:
 {
  Serial.write(myFile.read());
 }
 // close the file:
 myFile.close();
} 
else 
{ 
 Serial.println("error opening test.txt");// if the file didn't open, print an error:
}
lcd.clear();/// end sd
lcd.print("Stored!"); 
delay(1000);
Serial.println("¡¡ informacion Guardada");
} 
else if (p == FINGERPRINT_PACKETRECIEVEERR) 
{
 Serial.println("Communication error");
 return p;
} 
else if (p == FINGERPRINT_BADLOCATION) 
{
 Serial.println("Could not store in that location");
 return p;
} else if (p == FINGERPRINT_FLASHERR) 
{
 Serial.println("Error writing to flash");
 return p;
} else {
 Serial.println("Unknown error");
 return p;
} 
EthernetClient client = server.available(); // try to get client

if (client) { // got client?
boolean currentLineIsBlank = true;
while (client.connected()) {
if (client.available()) { // client data available to read
char c = client.read(); // read 1 byte (character) from client
HTTP_req += c; // save the HTTP request 1 char at a time
// last line of client request is blank and ends with \n
// respond to client only after last line received
if (c == '\n' && currentLineIsBlank) {
// send a standard http response header
client.println("HTTP/1.1 200 OK");
client.println("Content-Type: text/html");
client.println("Connection: close");
client.println();
// send web page
client.println("<!DOCTYPE html>");
client.println("<html>");
client.println("<head>");
client.println("<title>Arduino LED Control</title>");
client.println("</head>");
client.println("<body>");
client.println("<h1>LED</h1>");
client.println("<p>Click to switch LED on and off.</p>");
client.println("<form method=\"get\">");
ProcessCheckbox(client);
client.println("</form>");
client.println("</body>");
client.println("</html>");
Serial.print(HTTP_req);
HTTP_req = ""; // finished with request, empty string
break;
}
// every line of text received from the client ends with \r\n
if (c == '\n') {
// last character on line of received text
// starting new line with next character read
currentLineIsBlank = true;
} 
else if (c != '\r') {
// a text character was received from client
currentLineIsBlank = false;
}
} // end if (client.available())
} // end while (client.connected())
delay(1); // give the web browser time to receive the data
client.stop(); // close the connection
} // end if (client)

}

// switch LED and send back HTML for LED checkbox
void ProcessCheckbox(EthernetClient cl)
{
if (HTTP_req.indexOf("LED2=2") > -1) { // see if checkbox was clicked
// the checkbox was clicked, toggle the LED
if (LED_status) {
LED_status = 0;
}
else {
LED_status = 1;
}
}

if (LED_status) { // switch LED on
digitalWrite(2, HIGH);
// checkbox is checked
cl.println("<input type=\"checkbox\" name=\"LED2\" value=\"2\" \
onclick=\"submit();\" checaked>LED2");
}
else { // switch LED off
digitalWrite(2, LOW);
// checkbox is unchecked
cl.println("<input type=\"checkbox\" name=\"LED2\" value=\"2\" \
onclick=\"submit();\">LED2");
}
}

Go thru, get rid of duplicate library calls, resolve any duplicate pin usage, etc. Good luck.

thank you.. no error..

but, the output is it not what i expected.. the fingerprint not found, and the web web server not available..

my expectation is data fingerprint show in web server.. can you do that.. design coding fingerprint and web server.. of course i already do that but nothing come out..

Sorry, I am not familiar with the Fingerprint, LCD, and Ethernet libraries.

I'll move this to the Programming forum, you're more likely to get help there.

Some of the Arduino libraries interfere with each other.

...R

The Ethernet shield uses SPI, pin 10-13. Your LCD is using some of those pins. You’ll have to change your LCD pins to something else.