¿ªÔÆÌåÓý

Fw: [BITX20] software problem


Jack Purdum
 

Oops! Read the wrong function. There should be a function prototype for si5351bx_setfreq(). Try adding its prototype near the top of the code if it's missing or not in a header file.

Jack, W8TEE


----- Forwarded Message -----

From: Jack Purdum via Groups.Io <jjpurdum@...>
Sent: Wednesday, December 19, 2018, 12:03:23 PM EST
Subject: Re: [BITX20] software problem

Is there a function prototype for setFrequency() near the top of the code or in a header file? While I am not familiar with the code, my guess is that the argument to the function is either a long or unsigned long data type. Try adding:

void? setFrequency(unsigned long ritRxFrequency);

just after the #include's and see if that helps. If not, drop the unsigned and try again. If that fails, go have a beer.


Jack, W8TEE

On Wednesday, December 19, 2018, 11:56:31 AM EST, Jeff Davis via Groups.Io <ve3coj@...> wrote:


I have a version 3 board. I tried loading the original software for the nano and I am getting an error messages.
'si5351bx_setfreq' was not declared in this scope. Part of the code is shown below. I don't understand why the code will not work as is.? Thanks in advance.
Jeff... ve3coj

void stopTx(){
? inTx = 0;

? digitalWrite(TX_RX, 0);? ? ? ? ? //turn off the tx
? si5351bx_setfreq(0, usbCarrier);? //set back the cardrier oscillator anyway, cw tx switches it off

? if (ritOn)
? ? setFrequency(ritRxFrequency);
? else{


Join [email protected] to automatically receive all group messages.