Hi I'm working on my final project. I'm getting varying error messages in a code that did not give me error messages on a different computer.
esp8266Data("AT+CWJAP=\"SSID\",\"PASSWORD\"\r\n", 5000, DEBUG);//Enter your WiFi network's SSID and Password.
C:\Users\jtvazquez\Downloads\Final_Project_Vazquez\Final_Project_Vazquez.ino: In function 'void loop()'
C:\Users\jtvazquez\Downloads\Final_Project_Vazquez\Final_Project_Vazquez.ino:63:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\jtvazquez\Downloads\Final_Project_Vazquez\Final_Project_Vazquez.ino:66:35: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Could someone please help me to fix this issue?
You need to understand the difference between warnings and errors. A warning is the compiler telling you there is something in the code that could possibly cause a problem but doesn't cause the compilation to fail. An error is a problem with the code that causes compilation to fail. In this case you have posted warnings not errors.
It's a good idea to always pay attention to warnings and fix them in your code. If you want to do so you will find plenty of help by searching for the relevant part of the warning: "warning: deprecated conversion from string constant to 'char*'". If you don't want to fix it then feel free to ignore it since this particular warning doesn't indicate any immediate problem.
that did not give me error messages on a different computer.
Warnings were probably turned off on that other computer (File > Preferences > Compiler warnings).