Odpowiedz 
 
Ocena wątku:
  • 0 Głosów - 0 Średnio
  • 1
  • 2
  • 3
  • 4
  • 5
Synteza na SI5351
SQ6SEE Offline
Paweł
*

Liczba postów: 37
Dołączył: 08-10-2014
Post: #8
RE: Synteza na SI5351
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.
Wersja Arduino 1.8.11
03-04-2020 18:06
Znajdź wszystkie posty użytkownika Odpowiedz cytując ten post
Odpowiedz 


Wiadomości w tym wątku
Synteza na SI5351 - SQ6SEE - 26-03-2020, 23:36
RE: Synteza na SI5351 - SP9RQA - 27-03-2020, 9:36
RE: Synteza na SI5351 - SQ8MVY - 27-03-2020, 10:01
RE: Synteza na SI5351 - SQ6SEE - 28-03-2020, 10:52
RE: Synteza na SI5351 - SP3WXO - 28-03-2020, 15:56
RE: Synteza na SI5351 - SP3VPA - 28-03-2020, 17:06
RE: Synteza na SI5351 - SQ6SEE - 28-03-2020, 21:45
RE: Synteza na SI5351 - SQ6SEE - 03-04-2020 18:06
RE: Synteza na SI5351 - SQ8MVY - 03-04-2020, 19:00
RE: Synteza na SI5351 - SQ6SEE - 03-04-2020, 19:11
RE: Synteza na SI5351 - SQ8MVY - 03-04-2020, 19:39
RE: Synteza na SI5351 - SQ6SEE - 03-04-2020, 19:51
RE: Synteza na SI5351 - SQ8MVY - 03-04-2020, 21:01
RE: Synteza na SI5351 - SQ6SEE - 06-04-2020, 11:19
RE: Synteza na SI5351 - SP7Q - 03-08-2021, 15:52

Skocz do:


Użytkownicy przeglądający ten wątek: 2 gości