Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: GPS location and send it to HTTP server #47141
    avatarafnanbasir93
    Participant

    Hello sir, currently i follow this tutorial https://1sheeld.com/log-noise-level-on-cloud-using-arduino-1sheeld/ and I dont know afterwards, it is error. Please help..

    #define CUSTOM_SETTINGS
    #define INCLUDE_INTERNET_SHIELD
    #include <OneSheeld.h>
    HttpRequest myRequest(“https://trackbeta-172818.firebaseio.com/Mic.json”)

    void setup() {
    // put your setup code here, to run once:
    OneSheeld.begin();
    myRequest.setOnSuccess(&successFunction);
    myRequest.getResponse().setOnJsonResponse(&jsonResponseFunction);
    Internet.performGet(myRequest);
    }

    void loop() {
    // put your main code here, to run repeatedly:
    }
    void successFunction(HttpResponse myResponse){
    myResponse[“GENERATED_UNIQUE_ID”].query();
    }
    void jsonResponseFunction(JsonKeyChain & key, char * value){

    }

Viewing 1 post (of 1 total)