Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pm:prj2023:vstoica:electric-guitar-tuner [2023/05/27 12:22]
ion.calugaritoiu
pm:prj2023:vstoica:electric-guitar-tuner [2023/05/28 18:34] (current)
ion.calugaritoiu [Rezultate Obţinute]
Line 80: Line 80:
  
   * Folosesc si o rutina de intrerupere pentru a updata variabila in care memorez input-ul ("​newData"​);​ Rutina este apelata doar cand o valoare noua este citita.   * Folosesc si o rutina de intrerupere pentru a updata variabila in care memorez input-ul ("​newData"​);​ Rutina este apelata doar cand o valoare noua este citita.
- 
- 
-<​note>​prevData = newData; ​ //store previous value 
-  newData = ADCH;  //get value from A0 
-  if (prevData < 127 && newData >= 127){  //if increasing and crossing midpoint 
-    period = timer; ​ //get period from current timer value 
-    timer = 0;  //reset timer 
-  } 
- 
- ​timer++;//​increment timer</​note>​ 
  
  
Line 100: Line 90:
 {{:​pm:​prj2023:​vstoica:​doi.jpeg?​600|}} {{:​pm:​prj2023:​vstoica:​doi.jpeg?​600|}}
 {{:​pm:​prj2023:​vstoica:​trei.jpeg?​600|}} {{:​pm:​prj2023:​vstoica:​trei.jpeg?​600|}}
 +{{:​pm:​prj2023:​vstoica:​123.jpeg?​600|}}
 +{{:​pm:​prj2023:​vstoica:​1234.jpeg?​600|}}
 +{{:​pm:​prj2023:​vstoica:​12345.jpeg?​600|}}
 ===== Concluzii ===== ===== Concluzii =====
  
pm/prj2023/vstoica/electric-guitar-tuner.1685179360.txt.gz · Last modified: 2023/05/27 12:22 by ion.calugaritoiu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0