View Single Post
Unread 10/26/2017, 01:39 PM   #28
thegasman2000
Registered Member
 
thegasman2000's Avatar
 
Join Date: Dec 2005
Location: Pewsey, England
Posts: 91
Ok So I am close to having the core of the code down, I just need a help getting the LED PWM value from the Get request. Anyone got any ideas...

if (request.startsWith("/whiteLevel=") != -1) {
Serial.println("WHITE LEVEL SET ");
Serial.println(whiteLevel);
analogWrite(whiteLed, whiteLevel);
}

I just need to grab the 3 digits after the = and make that equal to whiteLevel


__________________
The Google Fu is strong in this one.

Current Tank Info: 90 gallon sumped cube
thegasman2000 is offline   Reply With Quote