logo elektroda
logo elektroda
X
logo elektroda

NodeMcu - how to search for values of fan, temp, wil variables in a string?

globalinfo 2061 0
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16323894
    globalinfo
    Level 13  
    Hello,
    I'm fiddling with a script that retrieves data from a web page.
    So far I've managed to extract the word "on" and I'd like to search for values assigned to variables - fan, temp, wil.

    The result on the serial monitor.
    Quote:
    .
    [HTTP] connection closed or file end.
    [HTTP] begin...
    [HTTP] GET...
    [HTTP] GET... code: 200
    16
    fan=on&temp=7&wil=9
    A=1
    0

    A=1
    enable
    [HTTP] connection closed or file end.
    .

    Code
    Code: C / C++
    Log in, to see the code
  • ADVERTISEMENT
ADVERTISEMENT