Created Fri, 12 Oct 2012 13:17:33 +0000 by lucHardware
Fri, 12 Oct 2012 13:17:33 +0000
Hallo I try to control leds and temperature with CHIPKIT MAX32, CHIPKIT Networkshield and the BASIC IOShield plug together. The website works fine, temperature also but it is impossible to control the led. The aditional info appears near the IP adress when toggle but the command
char c = client.read();
return always char "G" in the serial terminal. In my code I include
#include <chipKITEthernet.h>
#include <Wire.h> //for I2C
#include <IOShieldTemp.h>//for Tempsensor
Client client = server.available();
if (client) {
// an http request ends with a blank line
boolean currentLineIsBlank = true;
while (client.connected()) {
if (client.available())
{
char c = client.read();
if(readString.length()<100)
{
readString += c;
}
Serial.print(c);
Why the client.read return always G? Thanks for the help