loading
3 Comments

Tell us about yourself!

Complete Your Profile
  • Khalid_a commented on ezoom404's instructable Post to Google Docs with Arduino8 months ago
    Post to Google Docs with Arduino

    Well done on the instructable! I have copied/stolen/re-used this in a recent project I've done and you saved me a good deal of time in being able to upload stuff to google docs (https://www.hackster.io/khalidaabdulla/wi-fi-power-toggler-0ed04a).I couple of minor changes I had to make to the code to get it to work for me:char[] devid = "myOwnDeviceID"As well as obviously replacing the device ID with my own, I needed to put it in double quote marks (""). I also needed to declare devid as a character array (char[]), rather than just a character (char) as given in the sketch.Linked to this, I needed to change the sprintf command to:sprintf(postmsg,"GET /pushingbox?devid=%s&status=%d HTTP/1.1",devid,avtemp);With a (%s) field to include the character array de...see more »Well done on the instructable! I have copied/stolen/re-used this in a recent project I've done and you saved me a good deal of time in being able to upload stuff to google docs (https://www.hackster.io/khalidaabdulla/wi-fi-power-toggler-0ed04a).I couple of minor changes I had to make to the code to get it to work for me:char[] devid = "myOwnDeviceID"As well as obviously replacing the device ID with my own, I needed to put it in double quote marks (""). I also needed to declare devid as a character array (char[]), rather than just a character (char) as given in the sketch.Linked to this, I needed to change the sprintf command to:sprintf(postmsg,"GET /pushingbox?devid=%s&status=%d HTTP/1.1",devid,avtemp);With a (%s) field to include the character array devid (rather than the %c character in the original sketch).Other than that worked a charm. P.S. I'm not claiming the above are mistakes/bugs; just saying I needed to make those changes for it to work for me ;)

    Well done on the instructable! I have copied/stolen/re-used this in a recent project I've done and you saved me a good deal of time in being able to upload stuff to google docs (https://www.hackster.io/khalidaabdulla/wi-fi-power-toggler-0ed04a).I couple of minor changes I had to make to the code to get it to work for me:char devid[] = "myOwnDeviceID"As well as obviously replacing the device ID with my own, I needed to put it in double quote marks (""). I also needed to declare devid as a character array (char devid[]), rather than just a character (char devid) as given in the sketch.Linked to this, I needed to change the sprintf command to:sprintf(postmsg,"GET /pushingbox?devid=%s&status=%d HTTP/1.1",devid,avtemp);With a (%s) field to include the charac...see more »Well done on the instructable! I have copied/stolen/re-used this in a recent project I've done and you saved me a good deal of time in being able to upload stuff to google docs (https://www.hackster.io/khalidaabdulla/wi-fi-power-toggler-0ed04a).I couple of minor changes I had to make to the code to get it to work for me:char devid[] = "myOwnDeviceID"As well as obviously replacing the device ID with my own, I needed to put it in double quote marks (""). I also needed to declare devid as a character array (char devid[]), rather than just a character (char devid) as given in the sketch.Linked to this, I needed to change the sprintf command to:sprintf(postmsg,"GET /pushingbox?devid=%s&status=%d HTTP/1.1",devid,avtemp);With a (%s) field to include the character array devid[] (rather than the %c field in the original sketch).Other than that worked a charm. P.S. I'm not claiming the above are mistakes/bugs; just saying I needed to make those changes for it to work for me ;)

    Well done on the instructable! I have copied/stolen/re-used this in a recent project I've done and you saved me a good deal of time in being able to upload stuff to google docs (https://www.hackster.io/khalidaabdulla/wi-fi-power-toggler-0ed04a).I couple of minor changes I had to make to the code to get it to work for me:char devid[] = "myOwnDeviceID"As well as obviously replacing the device ID with my own, I needed to put it in double quote marks (""). I also needed to declare devid as a character array (char devid[]), rather than just a character (char devid) as given in the sketch.Linked to this, I needed to change the sprintf command to:sprintf(postmsg,"GET /pushingbox?devid=%s&status=%d HTTP/1.1",devid,avtemp);With a (%s) field to include the charac...see more »Well done on the instructable! I have copied/stolen/re-used this in a recent project I've done and you saved me a good deal of time in being able to upload stuff to google docs (https://www.hackster.io/khalidaabdulla/wi-fi-power-toggler-0ed04a).I couple of minor changes I had to make to the code to get it to work for me:char devid[] = "myOwnDeviceID"As well as obviously replacing the device ID with my own, I needed to put it in double quote marks (""). I also needed to declare devid as a character array (char devid[]), rather than just a character (char devid) as given in the sketch.Linked to this, I needed to change the sprintf command to:sprintf(postmsg,"GET /pushingbox?devid=%s&status=%d HTTP/1.1",devid,avtemp);With a (%s) field to include the character array devid[] (rather than the %c field in the original sketch).Other than that worked a charm. P.S. I'm not claiming the above are mistakes/bugs; just saying I needed to make those changes for it to work for me ;)

    View Instructable »