Re: Sweeperino?

matjaz
 

Hey,
tnx for ansver and instruction how to.
Karl Heinz tnx , I try with Si5351a.ino in the same place.
Still recevied mistake.
This is original file from https://github.com/afarhan/antuino Made by
Afarhan.
Include file with errors.

By and 73 Matjaz S56ZVD

On Fri, 15 Feb 2019 14:53:18 +0000 (UTC), "Jack Purdum via Groups.Io"
<jjpurdum=yahoo.com@groups.io> wrote:
Matjaz:
The Arduino GNU compiler performs type checking on function arguments,
which means it needs to have what is called a function prototype. For
example, suppose you write a function named MySquare() that takes an
integer variable as its argument:
int MySquare(int number){ return number * number;}

The compiler needs to know things about this function before it can
properly compile the program. To fix this, add this line at the very top
of your program:
long MySquare(int number); // This is a function prototype for
MySquare()
When the compiler reads the function prototype, it takes the attributes
of the function (e.g., it returns a_ long_, it takes an _int _as an
argument, and its ID is _MyFunction_) and stores that information in
something called a symbol table. Later in the program when you use this
function, the compiler can look in the symbol table to check that you're
passing the correct data type to it (_int_) and assigning what is
returned from the function into a matching (_long_) data type The error
in yellow below is an example of the compiler not finding a function
prototype.
The first error means that the definition of _xtal_freq_calibrated _was
not found in the compiler's symbol table by the time it reached that
point in the program. If this is someone else's code that you copied,
this could be as simple as misspelling the variable name. Whatever the
reason, it's caused by that variable not being in the symbol table. To
more fully understand these types of errors, try reading:
What is Scope? [1]

WHAT IS SCOPE?

What is Scope?

and see if that helps.
Jack, W8TEE
(aka econjack)

On Friday, February 15, 2019, 9:25:09 AM EST, matjaz via Groups.Io
wrote:

Hello,
I try to compile antuino, but recevied many errors.

Best regards

Matjaz

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'int calibrateClock()':

antuino_analyzer_27mhz_v2:62: error: 'xtal_freq_calibrated' was not
declared in this scope

prev_calibration = xtal_freq_calibrated;

^

antuino_analyzer_27mhz_v2:65: error: 'si5351aSetFrequency_clk1' was not
declared in this scope

si5351aSetFrequency_clk1(10000000l);

^

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'void takeReading(long int)':

antuino_analyzer_27mhz_v2:300: error: 'si5351aSetFrequency_clk2' was not
declared in this scope

si5351aSetFrequency_clk2(local_osc);

^

antuino_analyzer_27mhz_v2:304: error: 'si5351aSetFrequency_clk0' was not
declared in this scope

si5351aSetFrequency_clk0(newfreq);

^

antuino_analyzer_27mhz_v2:311: error: 'si5351aSetFrequency_clk1' was not
declared in this scope

si5351aSetFrequency_clk1(newfreq);

^

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'void setup()':

antuino_analyzer_27mhz_v2:326: error: 'xtal_freq_calibrated' was not
declared in this scope

EEPROM.get(MASTER_CAL, xtal_freq_calibrated);

^

antuino_analyzer_27mhz_v2:352: error: 'si5351aOutputOff' was not
declared
in this scope

si5351aOutputOff(SI_CLK0_CONTROL);

^

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'int menuSelectAntAnalyzer(int)':

antuino_analyzer_27mhz_v2:535: error: 'si5351aOutputOff' was not
declared
in this scope

si5351aOutputOff(SI_CLK0_CONTROL);

^

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'int menuCalibrate2(int)':

antuino_analyzer_27mhz_v2:594: error: 'si5351aOutputOff' was not
declared
in this scope

si5351aOutputOff(SI_CLK0_CONTROL);

^

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'int menuSelectMeasurementRx(int)':

antuino_analyzer_27mhz_v2:614: error: 'si5351aOutputOff' was not
declared
in this scope

si5351aOutputOff(SI_CLK0_CONTROL);

^

C:antuinoantuino-masterantuino_analyzer_27mhz_v2antuino_analyzer_27mhz_v2.ino:
In function 'int menuSelectNetworkAnalyzer(int)':

antuino_analyzer_27mhz_v2:633: error: 'si5351aOutputOff' was not
declared
in this scope

si5351aOutputOff(SI_CLK1_CONTROL);

^

exit status 1
'xtal_freq_calibrated' was not declared in this scope

On Fri, 15 Feb 2019 18:05:46 +0530, "Ashhar Farhan"
wrote:
Of all, this should be your first project. It will all the others.- f
On Fri 15 Feb, 2019, 5:56 PM gerrykav via Groups.Io

Links:
------
[1] mailto:yahoo.co.uk@groups.io [3]
[2] https://groups.io/g/BITX20/message/65375 [4]
[3]
mailto:BITX20@groups.io
[5]?subject=Re:%20Re%3A%20%5BBITX20%5D%20Sweeperino%3F
[4]
mailto:farhanbox@...
[6]?subject=Private:%20Re:%20Re%3A%20%5BBITX20%5D%20Sweeperino%3F
[5] https://groups.io/mt/29791995/180494 [7]
[6] https://groups.io/g/BITX20/post [8]
[7] http://www.phonestack.com/farhan/bitx.html [9]
[8] http://www.hfsignals.com/index.php/bitx40/ [10]
[9] http://www.hfsignals.com/index.php/ubitx/ [11]
[10] https://amateurradiokits.in/store/ [12]
[11] http://ubitx.net/ [13]
[12] https://groups.io/g/BITX20/wiki/home [14]
[13] https://groups.io/g/BITX20/editsub/180494 [15]
[14] mailto:BITX20+owner@groups.io [16]
[15] https://groups.io/g/BITX20/leave/defanged [17]


Links:
------
[1] http://forum.arduino.cc/index.php?topic=383064.0
[2] mailto:farhanbox@...
[3] mailto:yahoo.co.uk@groups.io
[4] https://groups.io/g/BITX20/message/65375
[5] mailto:BITX20@groups.io
[6] mailto:farhanbox@...
[7] https://groups.io/mt/29791995/180494
[8] https://groups.io/g/BITX20/post
[9] http://www.phonestack.com/farhan/bitx.html
[10] http://www.hfsignals.com/index.php/bitx40/
[11] http://www.hfsignals.com/index.php/ubitx/
[12] https://amateurradiokits.in/store/
[13] http://ubitx.net/
[14] https://groups.io/g/BITX20/wiki/home
[15] https://groups.io/g/BITX20/editsub/180494
[16] mailto:owner@groups.io
[17] https://groups.io/g/BITX20/leave/defanged
[18] https://groups.io/g/BITX20/message/65380
[19]
mailto:BITX20@groups.io?subject=Re:%20Re%3A%20%5BBITX20%5D%20Sweeperino%3F
[20]
mailto:jjpurdum@...?subject=Private:%20Re:%20Re%3A%20%5BBITX20%5D%20Sweeperino%3F
[21] https://groups.io/mt/29791995/180494
[22] https://groups.io/g/BITX20/post
[23] http://www.phonestack.com/farhan/bitx.html
[24] http://www.hfsignals.com/index.php/bitx40/
[25] http://www.hfsignals.com/index.php/ubitx/
[26] https://amateurradiokits.in/store/
[27] http://ubitx.net/
[28] https://groups.io/g/BITX20/wiki/home
[29] https://groups.io/g/BITX20/editsub/180494
[30] mailto:BITX20+owner@groups.io
[31] https://groups.io/g/BITX20/leave/defanged

Join BITX20@groups.io to automatically receive all group messages.