mirror of
https://github.com/nqrduck/ATM.git
synced 2024-11-22 10:02:26 +00:00
Small adjustments.
This commit is contained in:
parent
58a000232c
commit
c1a54f3af0
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ void loop()
|
|||
changeFrequencyRange(HOME_RANGE);
|
||||
|
||||
Serial.println("Resonance frequency after homing:");
|
||||
uint32_t resonance_frequency = findCurrentResonanceFrequency(START_FREQUENCY, STOP_FREQUENCY, FREQUENCY_STEP);
|
||||
uint32_t resonance_frequency = findCurrentResonanceFrequency(START_FREQUENCY, STOP_FREQUENCY, FREQUENCY_STEP / 2);
|
||||
Serial.println(resonance_frequency);
|
||||
|
||||
// frequency sweep call
|
||||
|
@ -178,7 +178,7 @@ void loop()
|
|||
else if (command == 'f')
|
||||
{
|
||||
Serial.println("Frequency sweep...");
|
||||
uint32_t resonance_frequency = findCurrentResonanceFrequency(START_FREQUENCY, STOP_FREQUENCY, FREQUENCY_STEP);
|
||||
uint32_t resonance_frequency = findCurrentResonanceFrequency(START_FREQUENCY, STOP_FREQUENCY, FREQUENCY_STEP / 2);
|
||||
Serial.println("Resonance is at:");
|
||||
Serial.println(resonance_frequency);
|
||||
|
||||
|
|
Loading…
Reference in a new issue