Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By robofred
#31570 Hello there,

I'm a newbie to programming - and so far I've been able to use my Arduino Uno/ESP and do a GET request to my server and receive the content of a file and print it to Serial Monitor (exactly as you've done here).

I'm trying to create an app for my child where she can turn on/off LEDs on the arduino by updating the file on the server... so the file has 12 bits, where each bit represents an LED being on/off (I'm preceding it by four unique characters for filtering purposes, so the content of the file looks like this "HXWM101010101010")

I downloaded the code (here: https://github.com/Andy-Org/Andy/blob/m ... 266_Rx.ino) and it prints the content to Serial Monitor but I cannot figure out how to use the content, for example by assigning the bits to an array that would help me turn the LEDs on/off. Its as though everything after "+IPD..." cannot be read by my arduino code or used in any way.

I've been stuck on this for 2 weeks now. PLEASE HELP - and THANK YOU in advance.

Best,
/Fred

PS. Here's the file on my server: http://coopx.org/esp8266.txt
User avatar
By Asadujjaman
#31574
I'm a newbie to programming - and so far I've been able to use my Arduino Uno/ESP and do a GET request to my server and receive the content of a file and print it to Serial Monitor (exactly as you've done here).


@robofred can you please tell me how you did this ? I am also trying to do this but every time i am getting this response "400 bad request".