Kod:
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void show_frequency()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:272:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("-",28,2); //drukujemy minus
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:274:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("+",28,2); //drukujemy plus
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:277:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("0",28,2); //jeśli poprawka zerowa wrzucam zero zamiast plusa czy minusa
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void set_frequency(int)':
zgredek_1_0_5:354:2: error: 'SetFrequency' was not declared in this scope
SetFrequency(frequency_to_dds);
^~~~~~~~~~~~
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:354:2: note: suggested alternative: 'set_frequency'
SetFrequency(frequency_to_dds);
^~~~~~~~~~~~
set_frequency
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void show_smetr()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:437:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("S4.5.6.7.8.9.20.40.60", CENTER, 38); //opis dla mojego s-metra po wyskalowaniu
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void change_vfo()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:481:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("V/A", 56,2); //sygnalizuję które VFO pracuje
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:490:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("V/B", 56,2); //sygnalizuję które VFO pracuje
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void ptt_switch()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:510:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("T", 0,2); //to zapalamy T do TX
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:528:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("R", 0,2); //zapalamy R do RX
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void show_template()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:550:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("RX", 0,2); //Sygnalizacja TX RX będzie tutaj
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:551:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("CW", 12,2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:552:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("V/A", 56,2); //startuję od VFO A
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:557:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("PA", 76,2); //Sygnalizacja komunikacji z PA po I2C
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:561:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print(" ", 76, 2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:563:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("S4.5.6.7.8.9.20.40.60", CENTER, 38); //opis dla s-metra
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void show_swr()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:594:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("..1,5.2...3..5..9..oo", CENTER, 38); //opis dla swr-metra
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void setup()':
zgredek_1_0_5:981:3: error: 'oe_setup' was not declared in this scope
oe_setup();
^~~~~~~~
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:981:3: note: suggested alternative: 'setup'
oe_setup();
^~~~~~~~
setup
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:996:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("Zgredek ver.",0,2); //lokowanie produktu przy starcie
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:997:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print(software_version, 48,2); //numer wersji
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino: In function 'void set_mode()':
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:1120:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("CWX", 12, 2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:1128:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("LSB", 12, 2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:1136:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("USB", 12, 2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:1144:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("CW ", 12, 2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:1155:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print(" PA", 72, 2);
^
E:\users\Pawel\Documents\Arduino\libraries\zgredek_1_0_5\zgredek_1_0_5.ino:1160:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
myGLCD.print("QRP", 72, 2);
^
exit status 1
'SetFrequency' was not declared in this scope
Takie błędy mi sypie program.