#include "etherShield.h"
#include "ETHER_28J60.h"
#include <Servo.h>
#include <String.h>

Servo Srv1;
int pos = 0;

int outputPin = 6;

static uint8_t mac[6] = {0x54, 0x55, 0x58, 0x10, 0x00, 0x24};
static uint8_t ip[4] = {192, 168, 1, 15};
static uint16_t port = 80;

ETHER_28J60 WebConn;

void setup()
{
Srv1.attach(9);
Serial.begin(9600);
WebConn.setup(mac, ip, port);
}

void loop()
{
char* params="";

if( params = WebConn.serviceRequest())
{

WebConn.print(params);
WebConn.print("<h1><a href=''>Servo web remote</a></h1>");
WebConn.print("<a href='L'><button>LEFT</button></a>");
WebConn.print("<a href='Rt'><button>RIGHT</button></a>");
for (;strcmp(params, "L") == 1
{
Srv1.write(pos+10);
delay(1500);
params="";
}
for (;strcmp(params, "R") == 1
{
Srv1.write(pos-10);
delay(1500);
params="";
}

WebConn.respond();
}

}



помогите ... нада чтоб камера ворочалась от нажатия на кнопку, чет неполучается