Are there any updated sample programs? The "Sample Code" listed under Documentations, generates segmentation errors when compiled under my desktop IDE, which could simply mean tha...
JaneYu 2018-08-14 04:30:41 9 Views1 Replies Are there any updated sample programs? The "Sample Code" listed under Documentations, generates segmentation errors when compiled under my desktop IDE, which could simply mean that my desktop IDE is outdated, so I tried the on-line IDE (create.arduino.cc/editor) thinking that it is more likely to be up-to-date and I get the following, which is only a small sample as the errors run on for pages:
/tmp/339704765/DFR0287_SampleCode_V1/DFR0287_SampleCode_V1.ino:84:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
char *menu_strings[MENU_ITEMS] = { "LCD12864 Shield", "www.DFRobot.com", "Temperature", "Humidity" ,"About","OK"};
^
/tmp/339704765/DFR0287_SampleCode_V1/DFR0287_SampleCode_V1.ino:84:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/tmp/339704765/DFR0287_SampleCode_V1/DFR0287_SampleCode_V1.ino:84:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/tmp/339704765/DFR0287_SampleCode_V1/DFR0287_SampleCode_V1.ino:84:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/tmp/339704765/DFR0287_SampleCode_V1/DFR0287_SampleCode_V1.ino:84:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
/tmp/339704765/DFR0287_SampleCode_V1/DFR0287_SampleCode_V1.ino:84:113: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
...and on...and on...and on...


