Depracted conversion <Answered>

char* valT[] = {"ON", "OFF"}

In my project, I am using the above command. The sketch compiles but with a warning:

C:\Electronics\Arduino\Arduino Projects\Solar Shed\Solar_Shed_Rev7\Solar_Shed_Rev7.ino: In function 'void Display()':

C:\Electronics\Arduino\Arduino Projects\Solar Shed\Solar_Shed_Rev7\Solar_Shed_Rev7.ino:454:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

           char* valT[] = {"ON", "OFF"};                                                                                // Create array

                                      ^

C:\Electronics\Arduino\Arduino Projects\Solar Shed\Solar_Shed_Rev7\Solar_Shed_Rev7.ino:454:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

Being a depracted conversion, what would be the current command?

TIA

Fof

const char* valT[] = {"ON", "OFF"}

Thanks, AWOL.

Much appreciated.