forked from Aylr/hauntbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bracketbarf.c
31 lines (28 loc) · 1.2 KB
/
bracketbarf.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
### This is a model with all the active bits stripped out to clean up the loop/logic model
boolean testget_handler(TinyWebServer& web_server){
while (client.connected()) {
if (client.available()) {
// Read a byte at a time and concatenate it onto the end of the character
if (client.available() == 0) {
// Split readString into columns with comma-separated values. Columns
// Now turn the array of strings into arrays of numbers. Each array is
// Now print out all the values to make sure it all worked
}
}//client.available()
Serial.println("end client.available()");
}//while client.connected()
Serial.println("end client.connected()");
return true; //exit the handler
}
boolean testget_handler(TinyWebServer& web_server){
while (client.connected()) {
if (client.available() > 0 ) {
// Read a byte at a time and concatenate it onto the end of the character
}else if (client.available() == 0) {
// Split readString into columns with comma-separated values. Columns
// Now turn the array of strings into arrays of numbers. Each array is
// Now print out all the values to make sure it all worked
}
}//while client.connected()
return true; //exit the handler
}