Hey folks,
First-timer with the Arduino here
I'm trying to put together a quick project using the Arduino, an Ethernet shield and an LCD keypad shield from hobbytronics.
My program verifies and loads properly but when it runs it only goes so far in the setup and stops and loop() doesn't run at all.
What I'm trying to achieve is to use the ethernet shield to go online and get a value from a special page on my website.
Through each step the LCD is supposed to show where it's up to (for my diagnostic purposes, but will repurpose it later).
Here is the code I'm loading to the Arduino.
As above, it gets as far as "continuing..", the LCD backlight dims slightly and then.. nothing.
#include <SPI.h>
#include <Ethernet.h>
#include <LiquidCrystal.h>
byte mac[] = {Â 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
IPAddress server(69,163,169,77);
EthernetClient client;
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);
void setup() {
 lcd.begin(16, 2);
Â
 lcd.setCursor(0,0);
 lcd.print("Web Client:");
 lcd.setCursor(0,1);
 lcd.print("Ready...");
Â
 delay(2000);
 lcd.setCursor(0,1);
 lcd.print("Continuing..");
 if (Ethernet.begin(mac) == 0) {
  lcd.setCursor(0,1);
  lcd.print("DHCP Config Err");
 } else {
  lcd.setCursor(0,1);
  lcd.print("Else Happened");
 }
 delay(1000);
Â
 lcd.setCursor(0,1);
 lcd.print("Connecting...");
 if (client.connect(server, 80)) {
  lcd.setCursor(0,1);
  lcd.print("Connected");
  client.println("GET /onLive.php HTTP/1.0");
  client.println();
 }
 else {
  lcd.setCursor(0,1);
  lcd.print("Connection Fail");
 }
}
void loop()
{
 lcd.setCursor(0,1);
 lcd.print("Starting Loop");
 while(client.available() > 0)
 {
  char c = client.read();
  if(c == '#')
  {
 while(client.available() == 0) { }
 c = client.read();
 if(c == '1')
     lcd.setCursor(0,1);
     lcd.print("File Found!!");
 } else {
     lcd.setCursor(0,1);
     lcd.print("File Missing..");
  }
 }
 if (!client.connected()) {
 Â
  lcd.setCursor(0,1);
  lcd.print("Disconnecting..");
  client.stop();
 Â
  lcd.setCursor(0,1);
  lcd.print("Resetting");
  delay(3000);
  setup();
 }
}
Any help with this for a newbie would be greatly appreciated =)
Thanks!