Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

's_meter10x15' was not declared in this scope #6

Open
RiccardoMontaguti opened this issue Oct 18, 2020 · 8 comments
Open

's_meter10x15' was not declared in this scope #6

RiccardoMontaguti opened this issue Oct 18, 2020 · 8 comments

Comments

@RiccardoMontaguti
Copy link

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

@prt459
Copy link
Owner

prt459 commented Oct 18, 2020

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

@RiccardoMontaguti
Copy link
Author

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) ?

@CarlosLU8DOG
Copy link

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

@prt459
Copy link
Owner

prt459 commented Feb 4, 2021 via email

@CarlosLU8DOG
Copy link

Thanks Paul, I ll try that.

@CarlosLU8DOG
Copy link

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.

@prt459
Copy link
Owner

prt459 commented Feb 4, 2021 via email

@prt459
Copy link
Owner

prt459 commented Dec 22, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants