Help! i can't upload code iot pet feeder in arduino


#1

It error messages

Arduino: 1.8.5 (Windows 10), Board: “i-Duino UNO R3B”

In file included from sketch\ESP8266.h:5:0,

             from C:\Users\E-master\Downloads\Firmware\Firmware.ino:4:

sketch\ESP8266_common.h:477:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

char* const m_urlHeader = "GET / HTTP/1.1\r\nHost: ";

                         ^

sketch\ESP8266_common.h:478:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

char* const m_urlFooter = “\r\nUser-Agent: ESP8266-WiFi/1.0\r\nConnection: close\r\n\r\n”;

                         ^

C:\Users\E-master\Downloads\Firmware\Firmware.ino:29:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]

char* const host = “www.google.com”;

                ^

Sketch uses 16846 bytes (52%) of program storage space. Maximum is 32256 bytes.
Global variables use 1208 bytes (58%) of dynamic memory, leaving 840 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x7c
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7c
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.