Arduino_si5351_VFO_Controller_Keyer icon indicating copy to clipboard operation
Arduino_si5351_VFO_Controller_Keyer copied to clipboard

's_meter10x15' was not declared in this scope

Open RiccardoMontaguti opened this issue 5 years ago • 8 comments

Trying to compile after downloading all the required libraries (using Arduino UNO as target board) I get the following error: -> 's_meter10x15' was not declared in this scope

The s_meter_font.h file is in the same folder of the .ino program

RiccardoMontaguti avatar Oct 18 '20 21:10 RiccardoMontaguti

Hi Riccardo I will help you to get the install going. Please look at the wiki tab, on the bottom of the first page there is a link to a page on doing the install. You need to edit the header and include the font file. If you still have problems let me know.

https://github.com/prt459/Arduino_si5351_VFO_Controller_Keyer/wiki

prt459 avatar Oct 18 '20 22:10 prt459

Thank you, by following the steps I was able to solve it! ( I hat also to rename the font file from s_meter_font.h to s-meter10x15.h ) and also I had to add the register to every set correction (si5351.set_correction(19100, SI5351_PLL_INPUT_XO); ) is it right to add to all the set_correction the same register line (SI5351_PLL_INPUT_XO) ?

RiccardoMontaguti avatar Oct 19 '20 08:10 RiccardoMontaguti

Hi Paul, I have the same response that Riccardo, 's_meter10x15' was not declared in this scope. I intended to follow your instructions but I cannot find the file SSD1306Ascii_fonts.h to edit it. Thanks in advance. Carlos LU8DOG

CarlosLU8DOG avatar Feb 04 '21 21:02 CarlosLU8DOG

Hi Carlos

I don't think you need to edit that file. Put the s_meter.h font into the fonts directors. Edit allfonts.h and #include the s_meter font.

It's been a while since I did this, see if this helps...

[image: image.png]

On Fri, 5 Feb 2021 at 08:58, CarlosLU8DOG [email protected] wrote:

Hi Paul, I have the same response that Riccardo, 's_meter10x15' was not declared in this scope. I intended to follow your instructions but I cannot find the file SSD1306Ascii_fonts.h to edit it. Thanks in advance. Carlos LU8DOG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prt459/Arduino_si5351_VFO_Controller_Keyer/issues/6#issuecomment-773630433, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEHGCFMKCXUFO56JM43C63S5MKA5ANCNFSM4SVLF7AA .

prt459 avatar Feb 04 '21 22:02 prt459

Thanks Paul, I ll try that.

CarlosLU8DOG avatar Feb 04 '21 22:02 CarlosLU8DOG

Ready! I removed the old set correction parameter , and it seems to be working. Now I ll suit all the options. Thanks you very much, Paul. Have a nice trekkings.

CarlosLU8DOG avatar Feb 04 '21 22:02 CarlosLU8DOG

😀

On Fri, 5 Feb 2021 at 09:51, CarlosLU8DOG [email protected] wrote:

Ready! I removed the old set correction parameter , and it seems to be working. Now I ll suit all the options. Thanks you very much, Paul. Have a nice trekkings.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prt459/Arduino_si5351_VFO_Controller_Keyer/issues/6#issuecomment-773655232, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEHGCGPVUXBXTX7VOEV2JLS5MQGLANCNFSM4SVLF7AA .

prt459 avatar Feb 04 '21 23:02 prt459

Piotr SP9LVZ had this problem and solved it simply by copying and pasting the S_meter font header code into the main VFO_Controller script. As the file contains only structs (which provide information for the compiler) it should not add to the binary code size, so this seems like a simpler solution. I'm yet to try it, if you do, let me know.

prt459 avatar Dec 22 '22 00:12 prt459