mirror of
https://github.com/nqrduck/ATM.git
synced 2024-11-22 18:12: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);
|
changeFrequencyRange(HOME_RANGE);
|
||||||
|
|
||||||
Serial.println("Resonance frequency after homing:");
|
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);
|
Serial.println(resonance_frequency);
|
||||||
|
|
||||||
// frequency sweep call
|
// frequency sweep call
|
||||||
|
@ -178,7 +178,7 @@ void loop()
|
||||||
else if (command == 'f')
|
else if (command == 'f')
|
||||||
{
|
{
|
||||||
Serial.println("Frequency sweep...");
|
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 is at:");
|
||||||
Serial.println(resonance_frequency);
|
Serial.println(resonance_frequency);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue