¿ªÔÆÌåÓý

Re: Calibration


G4NQX
 

'Lock' ? I don't see why this is necessary.? On powerup all values are read from 'startup' function first, no matter where it is in the code order.? The 'do tuning' function runs after that in the 'loop'. It just needed the eeprom call in 'setup' to get the calibration factor value first.

That's what I said in my first post, it was a puzzle how anyone got it to work as it was.

Putting it into calibration suspends the 'do tuning'? etc. functions and goes into a dedicated calibration loop where the final value is saved to eeprom on release of calibration pin/button/wire. Then it returns to the main 'loop'. On power up again, the value would be retrieved if the call is there.? If you run calibration after that again, it resets the calibration value first then enters the calibration loop.
--
Rob G4NQX

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